X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/391f7559e77cf98ea3b5a1fba94a8fa6f4307da8..17b07b8ab4f698dfbef69fcf77b8f8d86c440f39:/lib/service/servicedvb.h diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h index 4b6ef3e1..b1df4cb7 100644 --- a/lib/service/servicedvb.h +++ b/lib/service/servicedvb.h @@ -54,7 +54,8 @@ private: class eDVBServicePlay: public iPlayableService, public iPauseableService, public iSeekableService, public Object, public iServiceInformation, - public iAudioTrackSelection, public iFrontendStatusInformation + public iAudioTrackSelection, public iFrontendStatusInformation, + public iSubserviceList, public iTimeshiftService { DECLARE_REF(eDVBServicePlay); public: @@ -69,16 +70,21 @@ public: RESULT info(ePtr &ptr); RESULT audioTracks(ePtr &ptr); RESULT frontendStatusInfo(ePtr &ptr); - + RESULT subServices(ePtr &ptr); + RESULT timeshift(ePtr &ptr); + // iPauseableService RESULT pause(); RESULT unpause(); - + RESULT setSlowMotion(int ratio); + RESULT setFastForward(int ratio); + // iSeekableService RESULT getLength(pts_t &len); RESULT seekTo(pts_t to); RESULT seekRelative(int direction, pts_t to); RESULT getPlayPosition(pts_t &pos); + RESULT setTrickmode(int trick=0); // iServiceInformation RESULT getName(std::string &name); @@ -94,6 +100,14 @@ public: // iFrontendStatusInformation int getFrontendInfo(int w); + // iSubserviceList + int getNumberOfSubservices(); + RESULT getSubservice(eServiceReference &subservice, unsigned int n); + + // iTimeshiftService + RESULT startTimeshift(); + RESULT stopTimeshift(); + private: friend class eServiceFactoryDVB; eServiceReference m_reference; @@ -112,7 +126,7 @@ private: void serviceEvent(int event); Signal2 m_event; - int m_is_pvr, m_is_paused; + int m_is_pvr, m_is_paused, m_timeshift_enabled; int m_current_audio_stream; int selectAudioStream(int n);