summaryrefslogtreecommitdiff
path: root/config.h
blob: 3650d72edb4859eac4505751f24369108bf4c25c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 <vdr/tools.h>

class cEpgfixerSetup
{
public:
  int quotedshorttext;
  int blankbeforedescription;
  int repeatedtitle;
  int doublequotedshorttext;
  int removeformatting;
  int longshorttext;
  int equalshorttextanddescription;
  int nobackticks;
  int components;
  int striphtml;
  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_