diff options
author | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-04-24 18:00:00 +0200 |
---|---|---|
committer | Klaus Schmidinger <kls (at) cadsoft (dot) de> | 2000-04-24 18:00:00 +0200 |
commit | 85b8e41e8bb16e4e66561768026456ec5f0ee276 (patch) | |
tree | dd52f93f8db69b395ed2170d641a3e9d574ed039 /remote.h | |
parent | 37250a0568d5b1d689d5c59f983e9be228ed49c2 (diff) | |
download | vdr-patch-lnbsharing-85b8e41e8bb16e4e66561768026456ec5f0ee276.tar.gz vdr-patch-lnbsharing-85b8e41e8bb16e4e66561768026456ec5f0ee276.tar.bz2 |
Version 0.04vdr-0.04
- Changed name from 'osm' to 'vdr' to avoid mixups with the 'oms' program that
appears to be in use with DVD replay.
- Implemented a channel display in the top menu line.
- Implemented replay progress display (press "Ok" when replaying to bring it up).
- Implemented direct channel selecting by pressing the numeric keys.
- Added several 'const' keywords to please stricter compilers.
- The repeat function for the remote control no longer adapts dynamically
to the timing of the RCU (this sometimes caused the repeat function to
kick in too early).
- Channel selection is now blocked when recording or replaying.
- Improved process handling.
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,10 +1,10 @@ /* * remote.h: Interface to the Remote Control Unit * - * See the main source file 'osm.c' for copyright information and + * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remote.h 1.1 2000/02/19 13:36:48 kls Exp $ + * $Id: remote.h 1.4 2000/04/24 09:46:00 kls Exp $ */ #ifndef __REMOTE_H @@ -19,7 +19,7 @@ private: unsigned char dp, code, mode; unsigned short address; time_t t; - int firstTime, lastTime, minDelta; + int firstTime, lastTime; unsigned int lastCommand; bool SendCommand(unsigned char Cmd); int ReceiveByte(bool Wait = true); @@ -29,6 +29,7 @@ public: enum { modeH = 'h', modeB = 'b', modeS = 's' }; cRcIo(char *DeviceName); ~cRcIo(); + bool InputAvailable(bool Wait = false); void Flush(int WaitSeconds = 0); bool SetCode(unsigned char Code, unsigned short Address); bool SetMode(unsigned char Mode); |