diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2000-05-07 09:28:39 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2000-05-07 09:28:39 +0200 |
commit | 820de6bf5987a58f6ee06d7a9df5ebd89fb6cb90 (patch) | |
tree | c2203a9ad770f0cd8893071e70c3eb900d137825 /remote.h | |
parent | bc44196ee5cd21842cb5ff4e200ec3c54e86f5f9 (diff) | |
download | vdr-820de6bf5987a58f6ee06d7a9df5ebd89fb6cb90.tar.gz vdr-820de6bf5987a58f6ee06d7a9df5ebd89fb6cb90.tar.bz2 |
Displaying the recording DVB interface status in the decimal points of the RCU display
Diffstat (limited to 'remote.h')
-rw-r--r-- | remote.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: remote.h 1.4 2000/04/24 09:46:00 kls Exp $ + * $Id: remote.h 1.5 2000/05/07 09:27:54 kls Exp $ */ #ifndef __REMOTE_H @@ -21,10 +21,12 @@ private: time_t t; int firstTime, lastTime; unsigned int lastCommand; + int lastNumber; bool SendCommand(unsigned char Cmd); int ReceiveByte(bool Wait = true); bool SendByteHandshake(unsigned char c); bool SendByte(unsigned char c); + bool Digit(int n, int v); public: enum { modeH = 'h', modeB = 'b', modeS = 's' }; cRcIo(char *DeviceName); @@ -34,9 +36,8 @@ public: bool SetCode(unsigned char Code, unsigned short Address); bool SetMode(unsigned char Mode); bool GetCommand(unsigned int *Command, unsigned short *Address = NULL); - bool Digit(int n, int v); bool Number(int n, bool Hex = false); - void Points(unsigned char Dp) { dp = Dp; } + void SetPoints(unsigned char Dp, bool On); bool String(char *s); bool DetectCode(unsigned char *Code, unsigned short *Address); }; |