X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/1cdf6cb021fcaa6548b90ba7b6765cf1e8b8b37b..5561f5ec4f0a55d9256c3eab0ce121ae82ee5c90:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index c58421ed..4592a971 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -143,15 +143,21 @@ class iStaticServiceInformation: public iObject { public: virtual RESULT getName(const eServiceReference &ref, std::string &name)=0; + + // FOR SWIG + std::string getName(const eServiceReference &ref) { std::string temp; getName(ref, temp); return temp; } }; TEMPLATE_TYPEDEF(ePtr, iStaticServiceInformationPtr); class eServiceEvent; -class iServiceInformation: public iStaticServiceInformation +class iServiceInformation: public iObject { public: + virtual RESULT getName(std::string &name)=0; + // FOR SWIG + std::string getName() { std::string temp; getName(temp); return temp; } virtual RESULT getEvent(ePtr &evt, int nownext); }; @@ -190,6 +196,7 @@ TEMPLATE_TYPEDEF(ePtr, iPlayableServicePtr); class iRecordableService: public iObject { public: + virtual RESULT prepare()=0; virtual RESULT start()=0; virtual RESULT stop()=0; };