diff options
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/config.h b/config.h new file mode 100644 index 0000000..d9efe76 --- /dev/null +++ b/config.h @@ -0,0 +1,38 @@ +/* + * config.h: Global configuration and user settings + * + * See the README file for copyright information and how to reach the author. + * + */ + +#ifndef _EPGFIXER_CONFIG_H_ +#define _EPGFIXER_CONFIG_H_ + +#include "regexp.h" + +class cEpgfixerSetup +{ +public: + int quotedshorttext; + int blankbeforedescription; + int repeatedtitle; + int doublequotedshorttext; + int removeformatting; + int longshorttext; + int equalshorttextanddescription; + int nobackticks; + int components; + + cEpgfixerSetup(); + 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 cEpgfixerSetup EpgfixerSetup; + +#endif //_EPGFIXER_CONFIG_H_ |