diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-03 11:51:32 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2012-03-03 11:51:32 +0100 |
commit | 0432198e0b3fb7f77711a2ccb832cdc6c092df58 (patch) | |
tree | 73dc1bf816ea03462f80b49b2bafbd13b6208733 /rcu.h | |
parent | c5eb60f07a560d9baed751edbb5b5c0246c8e903 (diff) | |
download | vdr-0432198e0b3fb7f77711a2ccb832cdc6c092df58.tar.gz vdr-0432198e0b3fb7f77711a2ccb832cdc6c092df58.tar.bz2 |
Moved the call to cStatus::MsgChannelSwitch(this, 0) to the beginning of cDevice::SetChannel()1.7.25
Diffstat (limited to 'rcu.h')
-rw-r--r-- | rcu.h | 46 |
1 files changed, 0 insertions, 46 deletions
@@ -1,46 +0,0 @@ -/* - * rcu.h: RCU remote control - * - * See the main source file 'vdr.c' for copyright information and - * how to reach the author. - * - * $Id: rcu.h 1.7 2007/08/24 13:15:48 kls Exp $ - */ - -#ifndef __RCU_H -#define __RCU_H - -#include "remote.h" -#include "status.h" -#include "thread.h" - -class cRcuRemote : public cRemote, private cThread, private cStatus { -private: - enum { modeH = 'h', modeB = 'b', modeS = 's' }; - int f; - unsigned char dp, code, mode; - int number; - unsigned int data; - bool receivedCommand; - bool SendCommand(unsigned char Cmd); - int ReceiveByte(int TimeoutMs = 0); - bool SendByteHandshake(unsigned char c); - bool SendByte(unsigned char c); - bool SendData(unsigned int n); - void SetCode(unsigned char Code); - void SetMode(unsigned char Mode); - void SetNumber(int n, bool Hex = false); - void SetPoints(unsigned char Dp, bool On); - void SetString(const char *s); - bool DetectCode(unsigned char *Code); - virtual void Action(void); - virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); - virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On); -public: - cRcuRemote(const char *DeviceName); - virtual ~cRcuRemote(); - virtual bool Ready(void); - virtual bool Initialize(void); - }; - -#endif //__RCU_H |