From 4a5845aee69c23fa52f660be1caff00c96d9fc38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Schmitz?= Date: Sun, 19 Sep 2004 20:15:00 +0200 Subject: Version 0.6.0 --- config.h | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 29c05c3..fa348e5 100644 --- a/config.h +++ b/config.h @@ -1,32 +1,56 @@ /* - * magazine.c + * config.h * * See the README file for copyright information and how to reach the author. * - * $Id: config.h,v 1.1 2004/03/05 12:16:26 schmitzj Exp $ + * $Id: config.h,v 1.5 2004/07/08 10:46:44 schmitzj Exp $ * */ - #ifndef TVONSCREEN_CONFIG_H #define TVONSCREEN_CONFIG_H - #include - -#define MAX +#include class tvonscreenConfig { - public: - tvonscreenConfig(void) - { - *NameUser = 0; - } + tvonscreenConfig(void); + ~tvonscreenConfig(); + bool SetupParse(const char *Name, const char *Value); + bool ProcessArgs(int argc, char *argv[]); + const char *CommandLineHelp(void); + +// char showChannels[]; + int showLogos; + int XLfonts; + int noInfoLine; + int showChannels; + int bwlogos; + int colorworkaround; + int usertime1; + int usertime2; + int usertime3; + int thenshownextday; + + char *logos; +}; - char showChannels[]; +extern tvonscreenConfig tvonscreenCfg; + +class tvonscreenConfigPage : public cMenuSetupPage +{ +private: + tvonscreenConfig m_NewConfig; + +protected: + virtual void Store(void); + +public: + tvonscreenConfigPage(void); + virtual ~tvonscreenConfigPage(); }; #endif -- cgit v1.2.3