summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-12 09:24:45 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-12 09:24:45 +0200
commit01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3 (patch)
treebce1156fd51546cb0909f3c5f88ffdef563d177e /newplugin
parent7993e4c06f845e0a884bb68015e39f549f202ad2 (diff)
downloadvdr-01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3.tar.gz
vdr-01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3.tar.bz2
Changed the cPlugin::Start() function to return a boolean value
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin7
1 files changed, 4 insertions, 3 deletions
diff --git a/newplugin b/newplugin
index 7100bcd5..b1e51ca1 100755
--- a/newplugin
+++ b/newplugin
@@ -12,7 +12,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: newplugin 1.1 2002/05/09 15:12:26 kls Exp $
+# $Id: newplugin 1.2 2002/05/12 09:06:43 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -158,7 +158,7 @@ public:
virtual const char *Description(void) { return 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 MAINMENUENTRY; }
virtual cOsdMenu *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
@@ -189,9 +189,10 @@ bool cPlugin${PLUGIN_CLASS}::ProcessArgs(int argc, char *argv[])
return true;
}
-void cPlugin${PLUGIN_CLASS}::Start(void)
+bool cPlugin${PLUGIN_CLASS}::Start(void)
{
// Start any background activities the plugin shall perform.
+ return true;
}
cOsdMenu *cPlugin${PLUGIN_CLASS}::MainMenuAction(void)