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;
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 };
~iListableService();
#endif
public:
+#ifndef SWIG
/* legacy interface: get a list */
virtual RESULT getContent(std::list<eServiceReference> &list, bool sorted=false)=0;
+#endif
virtual PyObject *getContent(const char* format, bool sorted=false)=0;
/* new, shiny interface: streaming. */