mirror of
https://github.com/rofafor/vdr-plugin-femon.git
synced 2023-10-10 13:36:53 +02:00
23487c5972
Transponder information is now available in advanced display mode: Press 'OK' key to switch between the simple and the advanced display mode. Moved bitrate calculation to it's own thread for improved accurancy.
49 lines
1.4 KiB
C++
49 lines
1.4 KiB
C++
/*
|
|
* Frontend Status Monitor plugin for the Video Disk Recorder
|
|
*
|
|
* See the README file for copyright information and how to reach the author.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#ifndef __FEMON_H
|
|
#define __FEMON_H
|
|
|
|
#include <vdr/plugin.h>
|
|
|
|
static const char *VERSION = "0.0.3";
|
|
static const char *DESCRIPTION = "DVB Signal Information Monitor (OSD)";
|
|
static const char *MAINMENUENTRY = "Signal Information";
|
|
|
|
class cPluginFemon : public cPlugin {
|
|
private:
|
|
// Add any member variables or functions you may need here.
|
|
public:
|
|
cPluginFemon(void);
|
|
virtual ~cPluginFemon();
|
|
virtual const char *Version(void) { return VERSION; }
|
|
virtual const char *Description(void) { return tr(DESCRIPTION); }
|
|
virtual const char *CommandLineHelp(void);
|
|
virtual bool ProcessArgs(int argc, char *argv[]);
|
|
virtual bool Initialize(void);
|
|
virtual bool Start(void);
|
|
virtual void Housekeeping(void);
|
|
virtual const char *MainMenuEntry(void) { return (femonConfig.hidemenu ? NULL : tr(MAINMENUENTRY)); }
|
|
virtual cOsdObject *MainMenuAction(void);
|
|
virtual cMenuSetupPage *SetupMenu(void);
|
|
virtual bool SetupParse(const char *Name, const char *Value);
|
|
};
|
|
|
|
class cMenuFemonSetup : public cMenuSetupPage {
|
|
private:
|
|
virtual void Setup(void);
|
|
protected:
|
|
virtual eOSState ProcessKey(eKeys Key);
|
|
virtual void Store(void);
|
|
public:
|
|
cMenuFemonSetup(void);
|
|
};
|
|
|
|
#endif //__FEMON_H
|
|
|