diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2006-05-28 10:48:50 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2006-05-28 10:48:50 +0200 |
commit | e892171736157127d1ca8fd6b5c6193eb5b55c53 (patch) | |
tree | f0896244778df5d2129753d88b1f497b8a4e8fcb /channels.h | |
parent | 39162a98f081d997ad34c1d8dfb48111176eac15 (diff) | |
download | vdr-e892171736157127d1ca8fd6b5c6193eb5b55c53.tar.gz vdr-e892171736157127d1ca8fd6b5c6193eb5b55c53.tar.bz2 |
Fixed deleting channels in case the current channel's number changes1.4.0-2
Diffstat (limited to 'channels.h')
-rw-r--r-- | channels.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: channels.h 1.40 2006/02/28 13:52:49 kls Exp $ + * $Id: channels.h 1.41 2006/05/28 10:13:21 kls Exp $ */ #ifndef __CHANNELS_H @@ -233,6 +233,10 @@ public: int GetNextGroup(int Idx); // Get next channel group int GetPrevGroup(int Idx); // Get previous channel group int GetNextNormal(int Idx); // Get next normal channel (not group) +#if APIVERSNUM != 10400 +#warning ******* API version changed - activate new code + int GetPrevNormal(int Idx); // Get previous normal channel (not group) +#endif void ReNumber(void); // Recalculate 'number' based on channel type cChannel *GetByNumber(int Number, int SkipGap = 0); cChannel *GetByServiceID(int Source, int Transponder, unsigned short ServiceID); |