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