diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-11 13:44:58 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-11 13:44:58 +0200 |
commit | 51eb880da0365236e6a08aca3b1d84b14f6294b3 (patch) | |
tree | c05286856f7a422ce95b547935c30ae7fb0ae60e /menuitems.h | |
parent | 0fac78954c1d1afeaa772baa4daa0a6e52e1e0a2 (diff) | |
download | vdr-51eb880da0365236e6a08aca3b1d84b14f6294b3.tar.gz vdr-51eb880da0365236e6a08aca3b1d84b14f6294b3.tar.bz2 |
Improved implementation of setup menus for plugins
Diffstat (limited to 'menuitems.h')
-rw-r--r-- | menuitems.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/menuitems.h b/menuitems.h index a08a7148..ef25d0de 100644 --- a/menuitems.h +++ b/menuitems.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: menuitems.h 1.1 2002/05/09 09:41:06 kls Exp $ + * $Id: menuitems.h 1.2 2002/05/11 10:48:28 kls Exp $ */ #ifndef __MENUITEMS_H @@ -96,15 +96,20 @@ public: virtual eOSState ProcessKey(eKeys Key); }; +class cPlugin; + class cMenuSetupPage : public cOsdMenu { +private: + cPlugin *plugin; protected: - cSetup data; - int osdLanguage; - void SetupTitle(const char *s); - virtual void Set(void) = 0; + void SetSection(const char *Section); + virtual void Store(void) = 0; + void SetupStore(const char *Name, const char *Value = NULL); + void SetupStore(const char *Name, int Value); public: cMenuSetupPage(void); virtual eOSState ProcessKey(eKeys Key); + void SetPlugin(cPlugin *Plugin); }; #endif //__MENUITEMS_H |