10 #include <vdr/interface.h> 11 #include <vdr/plugin.h> 20 virtual bool Service(
const char *Id,
void *Data);
36 if (strcmp(Id,
"ReportBoredPlugin-v1.0") == 0) {
40 snprintf(s,
sizeof(s),
"Plugin %s informed server that it is bored.", rbp->
BoredPlugin->
Name());
46 if (strcmp(Id,
"AddService-v1.0") == 0) {
49 data->
sum = data->
a + data->
b;
static const char * DESCRIPTION
bool Confirm(const char *s, int Seconds=10, bool WaitForTimeout=false)
static const char * VERSION
VDRPLUGINCREATOR(cPluginSvcSvr)
virtual const char * Description(void)
virtual bool Service(const char *Id, void *Data)
virtual const char * Version(void)