add support for read signal quality, power and biterror rate from python
[enigma2.git] / lib / service / servicedvb.h
index 31eee1feff173bf6e34a23fc655783fa441cc1c5..4b6ef3e14b724ff46701fa97ce902232f3be9162 100644 (file)
@@ -54,7 +54,7 @@ private:
 
 class eDVBServicePlay: public iPlayableService, public iPauseableService, 
                public iSeekableService, public Object, public iServiceInformation, 
-               public iAudioTrackSelection
+               public iAudioTrackSelection, public iFrontendStatusInformation
 {
 DECLARE_REF(eDVBServicePlay);
 public:
@@ -68,6 +68,7 @@ public:
        RESULT pause(ePtr<iPauseableService> &ptr);
        RESULT info(ePtr<iServiceInformation> &ptr);
        RESULT audioTracks(ePtr<iAudioTrackSelection> &ptr);
+       RESULT frontendStatusInfo(ePtr<iFrontendStatusInformation> &ptr);
        
                // iPauseableService
        RESULT pause();
@@ -82,12 +83,17 @@ public:
                // iServiceInformation
        RESULT getName(std::string &name);
        RESULT getEvent(ePtr<eServiceEvent> &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);
+
 private:
        friend class eServiceFactoryDVB;
        eServiceReference m_reference;
@@ -107,6 +113,9 @@ private:
        Signal2<void,iPlayableService*,int> m_event;
        
        int m_is_pvr, m_is_paused;
+       
+       int m_current_audio_stream;
+       int selectAudioStream(int n);
 };
 
 #endif