diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-05-28 15:10:08 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-05-28 15:10:08 +0200 |
commit | 9847c7571dc8f76301dcff7a6eff8075f2179b09 (patch) | |
tree | f4b1284beee812f96e5b11e51c253003877a977a /device.h | |
parent | 43551831500e249b2dcb8557910ad234f46564cc (diff) | |
download | vdr-9847c7571dc8f76301dcff7a6eff8075f2179b09.tar.gz vdr-9847c7571dc8f76301dcff7a6eff8075f2179b09.tar.bz2 |
Removed all the compatibility '#if APIVERSNUM...' stuff and instead increased the API version number
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: device.h 1.77 2006/05/28 09:19:30 kls Exp $ + * $Id: device.h 1.78 2006/05/28 15:04:24 kls Exp $ */ #ifndef __DEVICE_H @@ -239,13 +239,10 @@ protected: public: static int CurrentChannel(void) { return primaryDevice ? currentChannel : 0; } ///< Returns the number of the current channel on the primary device. -#if APIVERSNUM != 10400 -#warning ******* API version changed - activate new code static void SetCurrentChannel(const cChannel *Channel) { currentChannel = Channel ? Channel->Number() : 0; } ///< Sets the number of the current channel on the primary device, without ///< actually switching to it. This can be used to correct the current ///< channel number while replaying. -#endif void ForceTransferMode(void); ///< Forces the device into transfermode for the current channel. virtual bool HasLock(int TimeoutMs = 0);//XXX PLUGINS.html |