X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/181d3463e3545890e0a0c60081e84af67d302614..5c644fbbceaa79a49501975de16b090771edee29:/lib/service/servicemp3.h diff --git a/lib/service/servicemp3.h b/lib/service/servicemp3.h index 12ad7706..c08278b8 100644 --- a/lib/service/servicemp3.h +++ b/lib/service/servicemp3.h @@ -18,6 +18,7 @@ public: RESULT record(const eServiceReference &, ePtr &ptr); RESULT list(const eServiceReference &, ePtr &ptr); RESULT info(const eServiceReference &, ePtr &ptr); + RESULT offlineOperations(const eServiceReference &, ePtr &ptr); private: ePtr m_service_info; }; @@ -29,6 +30,7 @@ class eStaticServiceMP3Info: public iStaticServiceInformation eStaticServiceMP3Info(); public: RESULT getName(const eServiceReference &ref, std::string &name); + int getLength(const eServiceReference &ref); }; class eServiceMP3: public iPlayableService, public iPauseableService, public iServiceInformation, public Object @@ -54,7 +56,16 @@ public: RESULT start(); RESULT stop(); RESULT pause(ePtr &ptr); + RESULT setSlowMotion(int ratio); + RESULT setFastForward(int ratio); + // not implemented (yet) + RESULT seek(ePtr &ptr) { ptr = 0; return -1; } + RESULT audioTracks(ePtr &ptr) { ptr = 0; return -1; } + RESULT frontendStatusInfo(ePtr &ptr) { ptr = 0; return -1; } + RESULT subServices(ePtr &ptr) { ptr = 0; return -1; } + RESULT timeshift(ePtr &ptr) { ptr = 0; return -1; } + // iPausableService RESULT pause(); RESULT unpause();