summaryrefslogtreecommitdiff
path: root/config.h
blob: 92b7026ca3b84370823bc24e9625b5bea114d44c (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
/*
 * 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_