-TEMPLATE_TYPEDEF(ePtr<iSubtitleOutput>, iSubtitleOutputPtr);
-
-class iPlayableService: public iObject
-{
-#ifdef SWIG
- iPlayableService();
- ~iPlaybleService();
-#endif
- friend class iServiceHandler;
-public:
- enum
- {
- /* these first two events are magical, and should only
- be generated if you know what you're doing. */
- evStart,
- evEnd,
-
- evTuneFailed,
- // when iServiceInformation is implemented:
- evUpdatedEventInfo,
- evUpdatedInfo,
-
- /* when seek() is implemented: */
- evSeekableStatusChanged, /* for example when timeshifting */
-
- evEOF,
- evSOF, /* bounced against start of file (when seeking backwards) */
-
- /* only when cueSheet is implemented */
- evCuesheetChanged,
-
- evUpdatedRadioText
- };
- virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
- virtual RESULT start()=0;
- virtual RESULT stop()=0;
- /* might have to be changed... */
- virtual RESULT setTarget(int target)=0;
- virtual SWIG_VOID(RESULT) seek(ePtr<iSeekableService> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) pause(ePtr<iPauseableService> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) info(ePtr<iServiceInformation> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) audioTracks(ePtr<iAudioTrackSelection> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) audioChannel(ePtr<iAudioChannelSelection> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) subServices(ePtr<iSubserviceList> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) frontendInfo(ePtr<iFrontendInformation> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) timeshift(ePtr<iTimeshiftService> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) cueSheet(ePtr<iCueSheet> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) subtitle(ePtr<iSubtitleOutput> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) audioDelay(ePtr<iAudioDelay> &SWIG_OUTPUT)=0;
- virtual SWIG_VOID(RESULT) radioText(ePtr<iRadioText> &SWIG_OUTPUT)=0;
-};
-
-TEMPLATE_TYPEDEF(ePtr<iPlayableService>, iPlayableServicePtr);
-
-class iRecordableService: public iObject
-{
-#ifdef SWIG
- iRecordableService();
- ~iRecordableService();
-#endif
-public:
- virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1)=0;
- virtual RESULT start()=0;
- virtual RESULT stop()=0;
- virtual SWIG_VOID(RESULT) frontendInfo(ePtr<iFrontendInformation> &SWIG_OUTPUT)=0;
-};
-
-TEMPLATE_TYPEDEF(ePtr<iRecordableService>, iRecordableServicePtr);
-
-// TEMPLATE_TYPEDEF(std::list<eServiceReference>, eServiceReferenceList);
-