diff options
Diffstat (limited to 'sources.h')
-rw-r--r-- | sources.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: sources.h 1.1 2002/10/04 14:25:03 kls Exp $ + * $Id: sources.h 1.2 2004/01/11 10:35:36 kls Exp $ */ #ifndef __SOURCES_H @@ -21,6 +21,7 @@ public: stTerr = 0xC000, st_Mask = 0xC000, st_Neg = 0x0800, + st_Pos = 0x07FF, }; private: int code; @@ -33,6 +34,7 @@ public: bool Parse(const char *s); static const char *ToString(int Code); static int FromString(const char *s); + static int FromData(eSourceType SourceType, int Position = 0, bool East = false); }; class cSources : public cConfig<cSource> { |