dont try to get frontend informations when the eDVBServicePlay is a pvr service
[enigma2.git] / lib / service / servicemp3.h
index 4bec736578e8a4fd72ea075a672da975baca2cc3..9f1a8e9fc6a4706c1d071d429aa86510c80c37df 100644 (file)
@@ -18,17 +18,19 @@ public:
        RESULT record(const eServiceReference &, ePtr<iRecordableService> &ptr);
        RESULT list(const eServiceReference &, ePtr<iListableService> &ptr);
        RESULT info(const eServiceReference &, ePtr<iStaticServiceInformation> &ptr);
+       RESULT offlineOperations(const eServiceReference &, ePtr<iServiceOfflineOperations> &ptr);
 private:
        ePtr<eStaticServiceMP3Info> m_service_info;
 };
 
-class eStaticServiceMP3Info: public iServiceInformation
+class eStaticServiceMP3Info: public iStaticServiceInformation
 {
        DECLARE_REF(eStaticServiceMP3Info);
        friend class eServiceFactoryMP3;
        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,6 +56,9 @@ public:
        RESULT start();
        RESULT stop();
        RESULT pause(ePtr<iPauseableService> &ptr);
+       RESULT seek(ePtr<iSeekableService> &ptr);
+       RESULT audioTracks(ePtr<iAudioTrackSelection> &ptr);
+       RESULT frontendStatusInfo(ePtr<iFrontendStatusInformation> &ptr);
 
                // iPausableService
        RESULT pause();
@@ -62,7 +67,7 @@ public:
        RESULT info(ePtr<iServiceInformation>&);
        
                // iServiceInformation
-       RESULT getName(const eServiceReference &ref, std::string &name);
+       RESULT getName(std::string &name);
 };
 
 #endif