diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-12 10:20:17 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2002-05-12 10:20:17 +0200 |
commit | 5d733e59ee0b0de00cf4967287ef7f431828726a (patch) | |
tree | 79e51986521582cc10f8a6cf0ae0dd05153cc96f /PLUGINS/src | |
parent | 01c68def34bc8b1d2a2b5ac0a21c6eb4a13e04e3 (diff) | |
download | vdr-5d733e59ee0b0de00cf4967287ef7f431828726a.tar.gz vdr-5d733e59ee0b0de00cf4967287ef7f431828726a.tar.bz2 |
Added the cPlugin::Housekeeping() function
Diffstat (limited to 'PLUGINS/src')
-rw-r--r-- | PLUGINS/src/hello/HISTORY | 1 | ||||
-rw-r--r-- | PLUGINS/src/hello/hello.c | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/PLUGINS/src/hello/HISTORY b/PLUGINS/src/hello/HISTORY index 9abd4971..31b668e8 100644 --- a/PLUGINS/src/hello/HISTORY +++ b/PLUGINS/src/hello/HISTORY @@ -12,3 +12,4 @@ VDR Plugin 'hello' Revision History 2002-05-12: Version 0.0.3 - Changed return type of cPluginHello::Start(). +- Added cPluginHello::Housekeeping(). diff --git a/PLUGINS/src/hello/hello.c b/PLUGINS/src/hello/hello.c index 55e6bcbb..9a6c6e31 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.3 2002/05/12 09:24:08 kls Exp $ + * $Id: hello.c 1.4 2002/05/12 10:18:59 kls Exp $ */ #include <getopt.h> @@ -28,6 +28,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 tr(MAINMENUENTRY); } virtual cOsdMenu *MainMenuAction(void); virtual cMenuSetupPage *SetupMenu(void); @@ -117,6 +118,11 @@ bool cPluginHello::Start(void) return true; } +void cPluginHello::Housekeeping(void) +{ + // Perform any cleanup or other regular tasks. +} + cOsdMenu *cPluginHello::MainMenuAction(void) { // Perform the action when selected from the main VDR menu. |