summaryrefslogtreecommitdiff
path: root/newplugin
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2002-05-12 10:20:17 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2002-05-12 10:20:17 +0200
commit5d733e59ee0b0de00cf4967287ef7f431828726a (patch)
tree79e51986521582cc10f8a6cf0ae0dd05153cc96f /newplugin
parent01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3 (diff)
downloadvdr-5d733e59ee0b0de00cf4967287ef7f431828726a.tar.gz
vdr-5d733e59ee0b0de00cf4967287ef7f431828726a.tar.bz2
Added the cPlugin::Housekeeping() function
Diffstat (limited to 'newplugin')
-rwxr-xr-xnewplugin8
1 files changed, 7 insertions, 1 deletions
diff --git a/newplugin b/newplugin
index b1e51ca1..8254f3a2 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.2 2002/05/12 09:06:43 kls Exp $
+# $Id: newplugin 1.3 2002/05/12 10:14:47 kls Exp $
$PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n";
@@ -159,6 +159,7 @@ public:
virtual const char *CommandLineHelp(void);
virtual bool ProcessArgs(int argc, char *argv[]);
virtual bool Start(void);
+ virtual void Housekeeping(void);
virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; }
virtual cOsdMenu *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
@@ -195,6 +196,11 @@ bool cPlugin${PLUGIN_CLASS}::Start(void)
return true;
}
+void cPlugin${PLUGIN_CLASS}::Housekeeping(void)
+{
+ // Perform any cleanup or other regular tasks.
+}
+
cOsdMenu *cPlugin${PLUGIN_CLASS}::MainMenuAction(void)
{
// Perform the action when selected from the main VDR menu.