diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-12 09:24:45 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-12 09:24:45 +0200 |
commit | 01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3 (patch) | |
tree | bce1156fd51546cb0909f3c5f88ffdef563d177e /PLUGINS/src | |
parent | 7993e4c06f845e0a884bb68015e39f549f202ad2 (diff) | |
download | vdr-01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3.tar.gz vdr-01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3.tar.bz2 |
Changed the cPlugin::Start() function to return a boolean value
Diffstat (limited to 'PLUGINS/src')
-rw-r--r-- | PLUGINS/src/hello/HISTORY | 4 | ||||
-rw-r--r-- | PLUGINS/src/hello/hello.c | 9 |
2 files changed, 9 insertions, 4 deletions
diff --git a/PLUGINS/src/hello/HISTORY b/PLUGINS/src/hello/HISTORY index dff114d5..9abd4971 100644 --- a/PLUGINS/src/hello/HISTORY +++ b/PLUGINS/src/hello/HISTORY @@ -8,3 +8,7 @@ VDR Plugin 'hello' Revision History 2002-05-11: Version 0.0.2 - Added setup parameters and a Setup menu to adjust them. + +2002-05-12: Version 0.0.3 + +- Changed return type of cPluginHello::Start(). diff --git a/PLUGINS/src/hello/hello.c b/PLUGINS/src/hello/hello.c index 65d03c8b..55e6bcbb 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.2 2002/05/11 14:17:20 kls Exp $ + * $Id: hello.c 1.3 2002/05/12 09:24:08 kls Exp $ */ #include <getopt.h> @@ -11,7 +11,7 @@ #include <vdr/plugin.h> #include "i18n.h" -static const char *VERSION = "0.0.2"; +static const char *VERSION = "0.0.3"; static const char *DESCRIPTION = "A friendly greeting"; static const char *MAINMENUENTRY = "Hello"; @@ -27,7 +27,7 @@ public: virtual const char *Description(void) { return tr(DESCRIPTION); } virtual const char *CommandLineHelp(void); virtual bool ProcessArgs(int argc, char *argv[]); - virtual void Start(void); + virtual bool Start(void); virtual const char *MainMenuEntry(void) { return tr(MAINMENUENTRY); } virtual cOsdMenu *MainMenuAction(void); virtual cMenuSetupPage *SetupMenu(void); @@ -110,10 +110,11 @@ bool cPluginHello::ProcessArgs(int argc, char *argv[]) return true; } -void cPluginHello::Start(void) +bool cPluginHello::Start(void) { // Start any background activities the plugin shall perform. RegisterI18n(Phrases); + return true; } cOsdMenu *cPluginHello::MainMenuAction(void) |