diff options
author | Denis Loh <denis.loh@gmail.com> | 2009-11-19 12:21:55 +0100 |
---|---|---|
committer | Denis Loh <denis.loh@gmail.com> | 2009-11-19 12:21:55 +0100 |
commit | 2d245fcabb385347359759de8e6c40ce16e43cab (patch) | |
tree | ee6d718e2be089c50a1f0f6ca6fb89cc3c3161b0 /misc/menusetup.h | |
parent | 4510b4d123a4f62c49c55fa517f15df4fa90ebec (diff) | |
download | vdr-plugin-upnp-2d245fcabb385347359759de8e6c40ce16e43cab.tar.gz vdr-plugin-upnp-2d245fcabb385347359759de8e6c40ce16e43cab.tar.bz2 |
Added options for verbosity level and auto detect settings
Diffstat (limited to 'misc/menusetup.h')
-rw-r--r-- | misc/menusetup.h | 31 |
1 files changed, 28 insertions, 3 deletions
diff --git a/misc/menusetup.h b/misc/menusetup.h index ae40e97..4e32efc 100644 --- a/misc/menusetup.h +++ b/misc/menusetup.h @@ -17,17 +17,42 @@ * * This class shows and manages the settings within the VDR setup OSD * - * @author Denis Loh - * @version 0.0.1 */ class cMenuSetupUPnP : public cMenuSetupPage { public: cMenuSetupUPnP(); // virtual ~cMenuSetupUPnP(); - virtual eOSState ProcessKey(eKeys Key); + /** + * Processes a keystroke + * + * This processes a keystroke which is done by the user and updates the + * menu accordingly + * + * It returns the current state of the VDR after pressing a key + * + * @return The current state of the VDR + */ + virtual eOSState ProcessKey( + eKeys Key ///< Key, pressed by the user + ); protected: + /** + * Stores the setup information + * + * This stores the setup information in the configuration file + */ virtual void Store(void); + /** + * Update the menu + * + * This updates the menu osd and refreshes the screen. + */ void Update(void); + /** + * Loads the setup information + * + * This loads the setup information from the configuration file + */ void Load(void); private: const char* const* getInterfaceList(int *count); |