diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-30 14:23:01 +0100 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2005-01-30 14:23:01 +0100 |
commit | 2bec1d5ca0aad0bc18d99ed33c1b1ce443abb699 (patch) | |
tree | 744c9c05dd6ed3922174a93ed515581e64bc4dfd /newplugin | |
parent | a430f64252f5b38bb19dc151c3793d66d64a8fb7 (diff) | |
download | vdr-2bec1d5ca0aad0bc18d99ed33c1b1ce443abb699.tar.gz vdr-2bec1d5ca0aad0bc18d99ed33c1b1ce443abb699.tar.bz2 |
Added cPlugin::Stop()
Diffstat (limited to 'newplugin')
-rwxr-xr-x | newplugin | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -12,7 +12,7 @@ # See the main source file 'vdr.c' for copyright information and # how to reach the author. # -# $Id: newplugin 1.17 2004/10/16 12:12:43 kls Exp $ +# $Id: newplugin 1.18 2005/01/30 13:50:05 kls Exp $ $PLUGIN_NAME = $ARGV[0] || die "Usage: newplugin <name>\n"; @@ -164,6 +164,7 @@ public: virtual bool ProcessArgs(int argc, char *argv[]); virtual bool Initialize(void); virtual bool Start(void); + virtual void Stop(void); virtual void Housekeeping(void); virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; } virtual cOsdObject *MainMenuAction(void); @@ -207,6 +208,11 @@ bool cPlugin${PLUGIN_CLASS}::Start(void) return true; } +void cPlugin${PLUGIN_CLASS}::Stop(void) +{ + // Stop any background activities the plugin shall perform. +} + void cPlugin${PLUGIN_CLASS}::Housekeeping(void) { // Perform any cleanup or other regular tasks. |