summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/config.h b/config.h
new file mode 100644
index 0000000..019ca65
--- /dev/null
+++ b/config.h
@@ -0,0 +1,90 @@
+#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 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;
+ 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 \ No newline at end of file