diff options
Diffstat (limited to 'config.h')
-rwxr-xr-x | config.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100755 index 0000000..92b7026 --- /dev/null +++ b/config.h @@ -0,0 +1,30 @@ +/* + * config.h: Global configuration + * + * See the README file for copyright information and how to reach the author. + * + */ + +#ifndef __HISTORY_CONFIG_H_ +#define __HISTORY_CONFIG_H_ + +#include <vdr/tools.h> + +class cHistorySetup +{ +public: + int allow_delete; + int replay_history_size; + cHistorySetup(); + bool SetupParse(const char *Name, const char *Value); + bool ProcessArgs(int argc, char *argv[]); + +protected: + bool ProcessArg(const char *Name, const char *Value); + static cString m_ProcessedArgs; +}; + +// Global instance +extern cHistorySetup HistorySetup; + +#endif //__HISTORY_CONFIG_H_ |