X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/2d0d9ad2cf4891c5386a3d8ca040c2738b5c2532..c9474b61671ed008fc7f18f8bbaafe0fd0a39dd2:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 6cb904e6..2ada9095 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -138,12 +138,12 @@ public: data[3]=data3; data[4]=data4; } +#endif eServiceReference(int type, int flags, const std::string &path) : type(type), flags(flags), path(path) { memset(data, 0, sizeof(data)); } -#endif eServiceReference(const std::string &string); std::string toString() const; std::string toCompareString() const; @@ -299,6 +299,8 @@ public: sVideoType, // MPEG2 MPEG4 sTags, /* space seperated list of tags */ + + sDVBState, /* states as defined in pmt handler (as events there) */ }; enum { resNA = -1, resIsString = -2, resIsPyObject = -3 }; @@ -646,8 +648,10 @@ class iListableService: public iObject ~iListableService(); #endif public: +#ifndef SWIG /* legacy interface: get a list */ virtual RESULT getContent(std::list &list, bool sorted=false)=0; +#endif virtual PyObject *getContent(const char* format, bool sorted=false)=0; /* new, shiny interface: streaming. */