blob: 58029a779456a86d2c199463eab21daa03d284f3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
/*
* See the README file for copyright information and how to reach the author.
*/
#ifndef NEUTRINOEPG_H_
#define NEUTRINOEPG_H_
#include <vdr/plugin.h>
#include <vdr/menu.h>
#include <vdr/status.h>
#include <vdr/interface.h>
#include "osdmenu.h"
#define CHNUMWIDTH ( numdigits(Channels.MaxNumber()) )
extern int hidemainmenu;
extern int bookmark;
extern int Step;
extern int keeposd;
extern int hideencryptedchannels;
extern int showchannelnumbers;
extern int hideradiochannels;
extern int switchwithok;
extern int progressbar;
extern int middlemenuentry;
extern int switchgroupkey;
extern int ChannelNameWidth;
extern int HideGroupsAt;
static const char *VERSION = "0.3.4";
static const char *DESCRIPTION = "View the EPG like neutrino does";
static const char *MAINMENUENTRY = "Neutrino EPG";
// --- cPluginNeutrinoEpg ---------------------------------------------------
class cPluginNeutrinoEpg:public cPlugin
{
private:
public:
cPluginNeutrinoEpg(void);
virtual ~cPluginNeutrinoEpg();
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 Stop(void);
virtual void Housekeeping(void);
virtual const char *MainMenuEntry(void) {return hidemainmenu?NULL:tr(MAINMENUENTRY);}
virtual cOsdObject *MainMenuAction(void);
virtual cMenuSetupPage *SetupMenu(void);
virtual bool SetupParse(const char *Name, const char *Value);
virtual bool Service(const char *Id, void *Data = NULL){return false;};
virtual const char **SVDRPHelpPages(void){return NULL;};
virtual cString SVDRPCommand(const char *Command, const char *Option, int &ReplyCode){return NULL;};
};
#endif
|