X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/3353982034f151f4615cb1842873d99a7a6fa0ca..f9f5c691fbbff5d5393d46b05c299f38a6afdfc3:/lib/service/servicedvb.h diff --git a/lib/service/servicedvb.h b/lib/service/servicedvb.h index 31eee1fe..e99faffd 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,11 +69,16 @@ 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); @@ -82,12 +88,25 @@ public: // iServiceInformation RESULT getName(std::string &name); RESULT getEvent(ePtr &evt, int nownext); + int getInfo(int w); + std::string getInfoString(int w); // iAudioTrackSelection int getNumberOfTracks(); 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; @@ -106,7 +125,10 @@ 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); }; #endif