X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/82e42c6b20bc9b84a6c393b8b5b62819d9538d2a..95c570d26ce81e3dd1e0610ff6c5c0b34d75ba5a:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index eff03436..71c82ab0 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -145,6 +145,7 @@ public: #endif eServiceReference(const std::string &string); std::string toString() const; + std::string toCompareString() const; bool operator==(const eServiceReference &c) const { if (type != c.type) @@ -225,6 +226,9 @@ public: virtual int getInfo(const eServiceReference &ref, int w); virtual std::string getInfoString(const eServiceReference &ref,int w); + + virtual int setInfo(const eServiceReference &ref, int w, int v); + virtual int setInfoString(const eServiceReference &ref, int w, const char *v); }; TEMPLATE_TYPEDEF(ePtr, iStaticServiceInformationPtr); @@ -275,13 +279,18 @@ public: sTracknumber, sGenre, sCAIDs, - sVideoType // MPEG2 MPEG4 + sVideoType, // MPEG2 MPEG4 + + sTags, /* space seperated list of tags */ }; enum { resNA = -1, resIsString = -2, resIsPyObject = -3 }; virtual int getInfo(int w); virtual std::string getInfoString(int w); virtual PyObject *getInfoObject(int w); + + virtual int setInfo(int w, int v); + virtual int setInfoString(int w, const char *v); }; TEMPLATE_TYPEDEF(ePtr, iServiceInformationPtr); @@ -467,6 +476,7 @@ public: virtual RESULT enableSubtitles(eWidget *parent, PyObject *entry)=0; virtual RESULT disableSubtitles(eWidget *parent)=0; virtual PyObject *getSubtitleList()=0; + virtual PyObject *getCachedSubtitle()=0; }; TEMPLATE_TYPEDEF(ePtr, iSubtitleOutputPtr);