diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-16 13:20:26 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-11-16 13:20:26 +0100 |
commit | e3a8fb1065b3ee38ec722d8a58179cbac94aa2d8 (patch) | |
tree | d7663c3a0c6181c375df06fe9aa7ba666f1fb747 | |
parent | f8950822dd5ac531af08bb3a3fffa068a06698fe (diff) | |
download | vdr-e3a8fb1065b3ee38ec722d8a58179cbac94aa2d8.tar.gz vdr-e3a8fb1065b3ee38ec722d8a58179cbac94aa2d8.tar.bz2 |
Changed return type of MainMenuAction()
-rw-r--r-- | PLUGINS/src/hello/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/hello/hello.c | 8 | ||||
-rw-r--r-- | PLUGINS/src/status/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/status/status.c | 8 |
4 files changed, 16 insertions, 8 deletions
diff --git a/PLUGINS/src/hello/HISTORY b/PLUGINS/src/hello/HISTORY index 8639e056..53b620e9 100644 --- a/PLUGINS/src/hello/HISTORY +++ b/PLUGINS/src/hello/HISTORY @@ -37,3 +37,7 @@ VDR Plugin 'hello' Revision History The NEWSTRUCT compile time switch is now obsolete. The required driver is now the CVS HEAD version dated 2002-11-01 or later. - Introduced Make.config. + +2002-11-23: Version 0.0.9 + +- Changed return type of MainMenuAction(). diff --git a/PLUGINS/src/hello/hello.c b/PLUGINS/src/hello/hello.c index 6583285e..2f00ee71 100644 --- a/PLUGINS/src/hello/hello.c +++ b/PLUGINS/src/hello/hello.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: hello.c 1.9 2002/11/01 10:16:53 kls Exp $ + * $Id: hello.c 1.10 2002/11/16 13:20:26 kls Exp $ */ #include <getopt.h> @@ -12,7 +12,7 @@ #include <vdr/plugin.h> #include "i18n.h" -static const char *VERSION = "0.0.8"; +static const char *VERSION = "0.0.9"; static const char *DESCRIPTION = "A friendly greeting"; static const char *MAINMENUENTRY = "Hello"; @@ -31,7 +31,7 @@ public: virtual bool Start(void); virtual void Housekeeping(void); virtual const char *MainMenuEntry(void) { return tr(MAINMENUENTRY); } - virtual cOsdMenu *MainMenuAction(void); + virtual cOsdObject *MainMenuAction(void); virtual cMenuSetupPage *SetupMenu(void); virtual bool SetupParse(const char *Name, const char *Value); }; @@ -124,7 +124,7 @@ void cPluginHello::Housekeeping(void) // Perform any cleanup or other regular tasks. } -cOsdMenu *cPluginHello::MainMenuAction(void) +cOsdObject *cPluginHello::MainMenuAction(void) { // Perform the action when selected from the main VDR menu. Interface->Confirm(UseAlternateGreeting ? tr("Howdy folks!") : tr("Hello world!"), GreetingTime); diff --git a/PLUGINS/src/status/HISTORY b/PLUGINS/src/status/HISTORY index 45d42fbf..7d282915 100644 --- a/PLUGINS/src/status/HISTORY +++ b/PLUGINS/src/status/HISTORY @@ -23,3 +23,7 @@ VDR Plugin 'status' Revision History The NEWSTRUCT compile time switch is now obsolete. The required driver is now the CVS HEAD version dated 2002-11-01 or later. - Introduced Make.config. + +2002-11-23: Version 0.0.6 + +- Changed return type of MainMenuAction(). diff --git a/PLUGINS/src/status/status.c b/PLUGINS/src/status/status.c index 12e64b7b..e1000162 100644 --- a/PLUGINS/src/status/status.c +++ b/PLUGINS/src/status/status.c @@ -3,13 +3,13 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: status.c 1.5 2002/11/01 10:16:59 kls Exp $ + * $Id: status.c 1.6 2002/11/16 13:20:26 kls Exp $ */ #include <vdr/plugin.h> #include <vdr/status.h> -static const char *VERSION = "0.0.5"; +static const char *VERSION = "0.0.6"; static const char *DESCRIPTION = "Status monitor test"; static const char *MAINMENUENTRY = NULL; @@ -115,7 +115,7 @@ public: virtual bool Start(void); virtual void Housekeeping(void); virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; } - virtual cOsdMenu *MainMenuAction(void); + virtual cOsdObject *MainMenuAction(void); virtual cMenuSetupPage *SetupMenu(void); virtual bool SetupParse(const char *Name, const char *Value); }; @@ -158,7 +158,7 @@ void cPluginStatus::Housekeeping(void) // Perform any cleanup or other regular tasks. } -cOsdMenu *cPluginStatus::MainMenuAction(void) +cOsdObject *cPluginStatus::MainMenuAction(void) { // Perform the action when selected from the main VDR menu. return NULL; |