diff options
Diffstat (limited to 'status.h')
-rw-r--r-- | status.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/status.h b/status.h new file mode 100644 index 0000000..7602c41 --- /dev/null +++ b/status.h @@ -0,0 +1,42 @@ +/* + * targavfd plugin for VDR (C++) + * + * (C) 2010 Andreas Brachold <vdr07 AT deltab de> + * + * This targavfd plugin is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License as published + * by the Free Software Foundation, version 3 of the License. + * + * See the files README and COPYING for details. + * + */ + +#ifndef __VFD_STATUS__H +#define __VFD_STATUS__H + +#include "vfd.h" +#include <vdr/status.h> + +class cVFDWatch; + +class cVFDStatusMonitor : public cStatus { + cVFDWatch* m_pDev; + public: + cVFDStatusMonitor(cVFDWatch* pDev); + protected: + virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); + virtual void Recording(const cDevice *pDevice, const char *szName, const char *szFileName, bool bOn); + virtual void Replaying(const cControl *pControl, const char *szName, const char *szFileName, bool bOn); + virtual void SetVolume(int Volume, bool Absolute); + virtual void OsdClear(void); + virtual void OsdTitle(const char *Title); + virtual void OsdStatusMessage(const char *Message); + virtual void OsdHelpKeys(const char *Red, const char *Green, const char *Yellow, const char *Blue); + virtual void OsdCurrentItem(const char *Text); + virtual void OsdTextItem(const char *Text, bool Scroll); + virtual void OsdChannel(const char *Text); + virtual void OsdProgramme(time_t PresentTime, const char *PresentTitle, const char *PresentSubtitle, time_t FollowingTime, const char *FollowingTitle, const char *FollowingSubtitle); +}; + +#endif + |