summaryrefslogtreecommitdiff
path: root/PLUGINS/src/hello/hello.c
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-11-16 13:20:26 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2002-11-16 13:20:26 +0100
commite3a8fb1065b3ee38ec722d8a58179cbac94aa2d8 (patch)
treed7663c3a0c6181c375df06fe9aa7ba666f1fb747 /PLUGINS/src/hello/hello.c
parentf8950822dd5ac531af08bb3a3fffa068a06698fe (diff)
downloadvdr-e3a8fb1065b3ee38ec722d8a58179cbac94aa2d8.tar.gz
vdr-e3a8fb1065b3ee38ec722d8a58179cbac94aa2d8.tar.bz2
Changed return type of MainMenuAction()
Diffstat (limited to 'PLUGINS/src/hello/hello.c')
-rw-r--r--PLUGINS/src/hello/hello.c8
1 files changed, 4 insertions, 4 deletions
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);