Changed return type of MainMenuAction()

This commit is contained in:
Klaus Schmidinger
2002-11-16 13:20:26 +01:00
parent f8950822dd
commit e3a8fb1065
4 changed files with 16 additions and 8 deletions

View File

@@ -23,3 +23,7 @@ VDR Plugin 'status' Revision History
The NEWSTRUCT compile time switch is now obsolete. The required driver is now
the CVS HEAD version dated 2002-11-01 or later.
- Introduced Make.config.
2002-11-23: Version 0.0.6
- Changed return type of MainMenuAction().

View File

@@ -3,13 +3,13 @@
*
* See the README file for copyright information and how to reach the author.
*
* $Id: status.c 1.5 2002/11/01 10:16:59 kls Exp $
* $Id: status.c 1.6 2002/11/16 13:20:26 kls Exp $
*/
#include <vdr/plugin.h>
#include <vdr/status.h>
static const char *VERSION = "0.0.5";
static const char *VERSION = "0.0.6";
static const char *DESCRIPTION = "Status monitor test";
static const char *MAINMENUENTRY = NULL;
@@ -115,7 +115,7 @@ public:
virtual bool Start(void);
virtual void Housekeeping(void);
virtual const char *MainMenuEntry(void) { return MAINMENUENTRY; }
virtual cOsdMenu *MainMenuAction(void);
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
};
@@ -158,7 +158,7 @@ void cPluginStatus::Housekeeping(void)
// Perform any cleanup or other regular tasks.
}
cOsdMenu *cPluginStatus::MainMenuAction(void)
cOsdObject *cPluginStatus::MainMenuAction(void)
{
// Perform the action when selected from the main VDR menu.
return NULL;