summaryrefslogtreecommitdiff
path: root/config.h
blob: c9b48d0416c5d92134886f8365815b659fe263b5 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
#ifndef __TVGUIDE_CONFIG_H
#define __TVGUIDE_CONFIG_H

#include "string"
#include <vdr/plugin.h>

using namespace std;

enum eDisplayMode {
    eVertical,
    eHorizontal
};

enum eChannelJumpMode {
    eNumJump,
    eGroupJump
};

enum eNumKeyMode {
    eTimeJump,
    eChannelJump
};

enum eBlueKeyMode {
    eBlueKeySwitch = 0,
    eBlueKeyEPG,
    eBlueKeyFavorites
};

enum eInstRecFolderMode {
    eFolderRoot = 0,
    eFolderSelect,
    eFolderFixed
};

class cTVGuideConfig {
private:
public:
    cTVGuideConfig(void);
    ~cTVGuideConfig() {};
    int showMainMenuEntry;
    int replaceOriginalSchedule;
    int displayMode;
    int channelsPerPageHorizontal;
    int channelsPerPageVertical;
    int displayHours;
    int timeStep;
    int bigStepHours;
    int hugeStepHours;
    int hideLastChannelGroup;
    int channelJumpMode;
    int closeOnSwitch;
    int numKeyMode;
    int blueKeyMode;
    int intelligentSwitch;
    int rerunAmount;
    int rerunDistance;
    int rerunMaxChannel;
    int useRemoteTimers;
    int instRecFolderMode;
    string instRecFixedFolder;
    int favWhatsOnNow;
    int favWhatsOnNext;
    int favUseTime1;
    int favUseTime2;
    int favUseTime3;
    int favUseTime4;
    int favTime1;
    int favTime2;
    int favTime3;
    int favTime4;
    string descUser1;
    string descUser2;
    string descUser3;
    string descUser4;
    int favLimitChannels;
    int favStartChannel;
    int favStopChannel;
    int useSubtitleRerun;
    int switchMinsBefore;
    bool SetupParse(const char *Name, const char *Value);
};

#ifdef DEFINE_CONFIG
    cTVGuideConfig config;
    cPlugin *pRemoteTimers = NULL;
#else
    extern cTVGuideConfig config;
    extern cPlugin *pRemoteTimers;
#endif

#endif //__TVGUIDE_CONFIG_H