12 #include <vdr/interface.h> 13 #include <vdr/plugin.h> 31 virtual bool Start(
void);
51 virtual void Store(
void);
89 return " -a ABC, --aaa=ABC do something nice with ABC\n" 90 " -b, --bbb activate 'plan B'\n";
96 static struct option long_options[] = {
97 {
"aaa", required_argument, NULL,
'a' },
98 {
"bbb", no_argument, NULL,
'b' },
99 { NULL, no_argument, NULL, 0 }
103 while ((c = getopt_long(argc, argv,
"a:b", long_options, NULL)) != -1) {
109 default:
return false;
142 if (!strcasecmp(Name,
"GreetingTime"))
GreetingTime = atoi(Value);
bool Confirm(const char *s, int Seconds=10, bool WaitForTimeout=false)
static const char * MAINMENUENTRY
void SetupStore(const char *Name, const char *Value=NULL)
static const char * DESCRIPTION
virtual cOsdObject * MainMenuAction(void)
virtual bool SetupParse(const char *Name, const char *Value)
virtual const char * MainMenuEntry(void)
VDRPLUGINCREATOR(cPluginHello)
virtual const char * CommandLineHelp(void)
virtual const char * Description(void)
virtual cMenuSetupPage * SetupMenu(void)
virtual const char * Version(void)
virtual void Housekeeping(void)
static const char * VERSION
virtual bool ProcessArgs(int argc, char *argv[])