#ifndef __NOEPG_CONFIG_H #include #include enum eNoEpgMode { enemUnknown = 0, enemWhitelist = 1, enemBlacklist = 2 }; class cNoepgChannelID : public cListObject { public: // either mode or id is set, never both eNoEpgMode mode; tChannelID id; cString *comment; cNoepgChannelID(void); cNoepgChannelID(eNoEpgMode Mode, tChannelID Id, cString *Comment); virtual ~cNoepgChannelID(void); bool Parse(const char *s); bool Save(FILE *f); static bool NoEpgForceEval; static cMutex NoEpgMutex; static cConfig NoEpgChannels; static bool ReadConfig(cConfig &Config, cMutex *Mutex); static bool SaveConfig(cConfig &Config, cMutex *Mutex); }; #endif