X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d9ee52e4f0fbe9a1ae00d0e66f9e6f0a07fa319f..95ac56f69ddb6de8e260c8e55aff68d1df0b452c:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 5a8a0627..c58421ed 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -6,14 +6,6 @@ #include #include -#ifdef SWIG -#define TEMPLATE_TYPEDEF(x, y) \ -%template(y) x; \ -typedef x y -#else -#define TEMPLATE_TYPEDEF(x, y) typedef x y -#endif - class eServiceReference { public: @@ -155,10 +147,12 @@ public: TEMPLATE_TYPEDEF(ePtr, iStaticServiceInformationPtr); +class eServiceEvent; + class iServiceInformation: public iStaticServiceInformation { public: - + virtual RESULT getEvent(ePtr &evt, int nownext); }; TEMPLATE_TYPEDEF(ePtr, iServiceInformationPtr); @@ -179,7 +173,10 @@ public: enum { evStart, - evEnd + evEnd, + + // when iServiceInformation is implemented: + evUpdatedEventInfo }; virtual RESULT connectEvent(const Slot2 &event, ePtr &connection)=0; virtual RESULT start()=0;