summaryrefslogtreecommitdiff
path: root/service.h
diff options
context:
space:
mode:
authorhorchi <vdr@jwendel.de>2017-03-16 19:00:50 +0100
committerhorchi <vdr@jwendel.de>2017-03-16 19:00:50 +0100
commit6ab5ecddeb666f5a01742ed63f585979096302f5 (patch)
tree3a3eb19200b3e2dfc98e494dbd1cbca2464352a0 /service.h
parent484b744d47a901e2537edcab5f4b10bbc5e9b22e (diff)
downloadvdr-plugin-epg2vdr-6ab5ecddeb666f5a01742ed63f585979096302f5.tar.gz
vdr-plugin-epg2vdr-6ab5ecddeb666f5a01742ed63f585979096302f5.tar.bz2
2017-03-16: version 1.1.48 (horchi)\n - added: Further improvement of extended skins interface\n\n1.1.48
Diffstat (limited to 'service.h')
-rw-r--r--service.h42
1 files changed, 28 insertions, 14 deletions
diff --git a/service.h b/service.h
index 122986f..7f60415 100644
--- a/service.h
+++ b/service.h
@@ -47,18 +47,18 @@ class cEpgTimer_Interface_V1 : public cTimer
: cTimer(Instant, Pause, (cChannel*)Channel) {}
#endif
- long TimerId() { return timerid; }
- long EventId() { return eventid; }
- const char* VdrName() { return vdrName ? vdrName : ""; }
- const char* VdrUuid() { return vdrUuid ? vdrUuid : ""; }
- int isVdrRunning() { return vdrRunning; }
- int isLocal() { return local; }
- int isRemote() { return !isLocal(); }
-
- char State() { return state; }
- int hasState(char s) const { return state == s; }
- const char* StateInfo() { return stateInfo ? stateInfo : ""; }
- char Action() { return action; }
+ long TimerId() const { return timerid; }
+ long EventId() const { return eventid; }
+ const char* VdrName() const { return vdrName ? vdrName : ""; }
+ const char* VdrUuid() const { return vdrUuid ? vdrUuid : ""; }
+ int isVdrRunning() const { return vdrRunning; }
+ int isLocal() const { return local; }
+ int isRemote() const { return !isLocal(); }
+
+ char State() const { return state; }
+ int hasState(char s) const { return state == s; }
+ const char* StateInfo() const { return stateInfo ? stateInfo : ""; }
+ char Action() const { return action; }
protected:
@@ -76,7 +76,7 @@ class cEpgTimer_Interface_V1 : public cTimer
};
//***************************************************************************
-// Service Interface
+// Timer Service Interfaces
//***************************************************************************
struct cEpgTimer_Service_V1
@@ -87,10 +87,24 @@ struct cEpgTimer_Service_V1
#define EPG2VDR_TIMER_UPDATED "Epg2Vdr_Timer_Updated-v1.0"
#define EPG2VDR_TIMER_SERVICE "Epg2Vdr_Timer_Service-v1.0"
+//***************************************************************************
+// Event Service Interfaces
+//***************************************************************************
+
+struct cEpgEvent_Service_V1
+{
+ const cEvent* in;
+ cEpgEvent_Interface_V1* out;
+};
+
+#define EPG2VDR_EVENT_SERVICE "Epg2Vdr_Event_Service-v1.0"
+
#ifdef EPG2VDR
//***************************************************************************
-// Internal
+//***************************************************************************
+//***************************************************************************
+// Internal Stuff
//***************************************************************************
//***************************************************************************