X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0329b4216112f4591e758ff2407002500abb0bf6..740ae9b4a03c13901e4f4ffc008e4c0cfd63d896:/lib/service/servicedvb.h diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h index 44d920f8..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 iAudioTrackSelection, public iFrontendStatusInformation, + public iSubserviceList, public iTimeshiftService { DECLARE_REF(eDVBServicePlay); public: @@ -68,16 +69,22 @@ public: RESULT pause(ePtr &ptr); 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); @@ -90,6 +97,17 @@ public: RESULT selectTrack(unsigned int i); RESULT getTrackInfo(struct iAudioTrackInfo &, unsigned int n); + // 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; @@ -108,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);