diff options
author | horchi <vdr@jwendel.de> | 2017-03-23 18:43:07 +0100 |
---|---|---|
committer | horchi <vdr@jwendel.de> | 2017-03-23 18:43:07 +0100 |
commit | ea3f8c5d050192b06cab9eaf70e19b544c09b8c5 (patch) | |
tree | ae50c481e279be57bf396cb35ca2167c4e71ac24 /service.h | |
parent | 4ce37758aa8e7ff1faea6aea5d19c953f89247b7 (diff) | |
download | vdr-plugin-epg2vdr-ea3f8c5d050192b06cab9eaf70e19b544c09b8c5.tar.gz vdr-plugin-epg2vdr-ea3f8c5d050192b06cab9eaf70e19b544c09b8c5.tar.bz2 |
2017-03-22 version 1.1.53 (horchi)\n - change: Removed old patches for vdr < 2.2.0\n - added: Patch to extend cEvent with aux field like cTimer\n - change: Moved user defines from Makefile to Make.config\n\n1.1.54
Diffstat (limited to 'service.h')
-rw-r--r-- | service.h | 47 |
1 files changed, 0 insertions, 47 deletions
@@ -15,24 +15,6 @@ #include <map> //*************************************************************************** -// Event - Skin Interface -//*************************************************************************** - -class cEpgEvent_Interface_V1 : public cEvent -{ - public: - - cEpgEvent_Interface_V1(tEventID EventID) : cEvent(EventID) {} - - const char* getValue(const char* name) { return epg2vdrData[name].c_str(); } - const std::map<std::string,std::string>* getValues() const { return &epg2vdrData; } - - protected: - - std::map<std::string,std::string> epg2vdrData; -}; - -//*************************************************************************** // Timer - Skin Interface //*************************************************************************** @@ -87,18 +69,6 @@ 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 //*************************************************************************** @@ -108,23 +78,6 @@ struct cEpgEvent_Service_V1 //*************************************************************************** //*************************************************************************** -// Class cEpgEvent -//*************************************************************************** - -class cEpgEvent : public cEpgEvent_Interface_V1 -{ - public: - - cEpgEvent(tEventID EventID); - virtual ~cEpgEvent() {} - - bool Read(FILE *f); - - void setValue(const char* name, const char* value) { epg2vdrData[name] = value; } - void setValue(const char* name, long value) { epg2vdrData[name] = std::to_string(value); } -}; - -//*************************************************************************** // Class cEpgTimer //*************************************************************************** |