#include <lib/python/swig.h>
#include <lib/base/object.h>
+#include <lib/service/event.h>
#include <string>
#include <connection.h>
#include <list>
int data[8];
std::string path;
+ std::string getPath() { return path; }
// only for override service names in bouquets or to give servicerefs a name which not have a
// real existing service ( for dvb eServiceDVB )
std::string name;
+ std::string getName() { return name; }
eServiceReference()
: type(idInvalid), flags(0)
virtual SWIG_VOID(RESULT) getName(const eServiceReference &ref, std::string &SWIG_OUTPUT)=0;
// doesn't need to be implemented, should return -1 then.
- virtual int getLength(const eServiceReference &ref)=0;
+ virtual int getLength(const eServiceReference &ref);
+ virtual SWIG_VOID(RESULT) getEvent(const eServiceReference &ref, ePtr<eServiceEvent> &SWIG_OUTPUT);
+ // returns true when not implemented
+ virtual bool isPlayable(const eServiceReference &ref, const eServiceReference &ignore);
};
TEMPLATE_TYPEDEF(ePtr<iStaticServiceInformation>, iStaticServiceInformationPtr);
TEMPLATE_TYPEDEF(ePtr<iAudioTrackSelection>, iAudioTrackSelectionPtr);
-
class iPlayableService: public iObject
{
friend class iServiceHandler;