mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
Added cPlugin::Stop()
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user