summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2006-04-15 11:18:36 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2006-04-15 11:18:36 +0200
commit4ba450b7372709507a8602ae5c80b47ef39b6d38 (patch)
tree325667a6b015156e4e25c5f14bf6b02959bff064 /newplugin
parent3d8a9c965366f35ceeadcceb9744ef0fc8f26455 (diff)
downloadvdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.gz
vdr-4ba450b7372709507a8602ae5c80b47ef39b6d38.tar.bz2
Implemented cPlugin::Active()
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin9
1 files changed, 8 insertions, 1 deletions
diff --git a/newplugin b/newplugin
index 1800b7f4..e1d32f0c 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.22 2005/11/11 13:20:14 kls Exp $
+# $Id: newplugin 1.23 2006/04/15 11:18:36 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -166,6 +166,7 @@ public:
virtual bool Start(void);
virtual void Stop(void);
virtual void Housekeeping(void);
+ virtual cString Active(void);
virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; }
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
@@ -221,6 +222,12 @@ void cPlugin${PLUGIN_CLASS}::Housekeeping(void)
// Perform any cleanup or other regular tasks.
}
+cString cPlugin${PLUGIN_CLASS}::Active(void)
+{
+ // Return a message string if shutdown should be postponed
+ return NULL;
+}
+
cOsdObject *cPlugin${PLUGIN_CLASS}::MainMenuAction(void)
{
// Perform the action when selected from the main VDR menu.