theoretic support for PiP (will be fixed)
[enigma2.git] / lib / service / servicedvb.h
index 42e380137208fd61179ddfcb82e33eb46b42861f..42896bfdbd987bd01f6e8a395333f7e57d01a92e 100644 (file)
@@ -77,7 +77,6 @@ public:
        RESULT subServices(ePtr<iSubserviceList> &ptr);
        RESULT timeshift(ePtr<iTimeshiftService> &ptr);
        RESULT cueSheet(ePtr<iCueSheet> &ptr);
-       
 
                // iPauseableService
        RESULT pause();
@@ -106,6 +105,7 @@ public:
 
                // iFrontendStatusInformation
        int getFrontendInfo(int w);
+       PyObject *getFrontendData(bool);
 
                // iSubserviceList
        int getNumberOfSubservices();
@@ -120,6 +120,7 @@ public:
                // iCueSheet
        PyObject *getCutList();
        void setCutList(PyObject *);
+       void setCutListEnable(int enable);
        
 private:
        friend class eServiceFactoryDVB;
@@ -128,6 +129,7 @@ private:
        ePtr<eDVBService> m_dvb_service;
        
        ePtr<iTSMPEGDecoder> m_decoder;
+       int m_is_primary;
        
                /* in timeshift mode, we essentially have two channels, and thus pmt handlers. */
        eDVBServicePMTHandler m_service_handler, m_service_handler_timeshift;
@@ -172,7 +174,7 @@ private:
                
                bool operator < (const struct cueEntry &o) const
                {
-                       return what < o.what;
+                       return where < o.where;
                }
                cueEntry(const pts_t &where, unsigned int what) :
                        where(where), what(what)
@@ -181,10 +183,12 @@ private:
        };
        
        std::multiset<cueEntry> m_cue_entries;
-       int m_cuesheet_changed;
+       int m_cuesheet_changed, m_cutlist_enabled;
        
        void loadCuesheet();
        void saveCuesheet();
+       
+       void cutlistToCuesheet();
 };
 
 #endif