diff options
author | mrwastl <mrwastl@users.sourceforge.net> | 2012-03-11 19:17:17 +0100 |
---|---|---|
committer | mrwastl <mrwastl@users.sourceforge.net> | 2012-03-11 19:17:17 +0100 |
commit | 3c20bf87becd03e85151e4c6b8d5ff0cc5651980 (patch) | |
tree | ca163d0b7b1debc054f53973ad20248fad2d77ce /state.h | |
parent | c96d8fa5ae09b317108585fd1b8dd2d145aac07e (diff) | |
download | vdr-plugin-graphlcd-3c20bf87becd03e85151e4c6b8d5ff0cc5651980.tar.gz vdr-plugin-graphlcd-3c20bf87becd03e85151e4c6b8d5ff0cc5651980.tar.bz2 |
added support for >= VDR 1.7.26 (modified API)
Diffstat (limited to 'state.h')
-rw-r--r-- | state.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * state.h - status monitor class * * (c) 2001-2004 Carsten Siebholz <c.siebholz AT t-online de> - * (c) 2010 Wolfgang Astleitner <mrwastl AT users sourceforge net> + * (c) 2010-2012 Wolfgang Astleitner <mrwastl AT users sourceforge net> **/ #ifndef _GRAPHLCD_STATE_H_ @@ -128,7 +128,11 @@ private: void UpdateEventInfo(void); void UpdateReplayInfo(void); protected: +#if VDRVERSNUM >= 10726 + virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber, bool LiveView); +#else virtual void ChannelSwitch(const cDevice *Device, int ChannelNumber); +#endif virtual void Recording(const cDevice *Device, const char *Name, const char *FileName, bool On); virtual void Replaying(const cControl *Control, const char *Name, const char *FileName, bool On); virtual void SetVolume(int Volume, bool Absolute); |