theoretic support for PiP (will be fixed)
[enigma2.git] / lib / service / iservice.h
index 785330178e336b872f282a2a1abfc0f40b43cddb..822910f9ae4798642e42125b38c245b7627b67f8 100644 (file)
@@ -251,7 +251,15 @@ public:
                sProvider,
                
                sDescription,
+               sServiceref,
                sTimeCreate,    // unix time or string
+               
+               sTitle,
+               sArtist,
+               sAlbum,
+               sComment,
+               sTracknumber,
+               sGenre,
        };
        enum { resNA = -1, resIsString = -2 };
 
@@ -271,9 +279,12 @@ public:
        enum {
                bitErrorRate,
                signalPower,
-               signalQuality
+               signalQuality,
+               LockState,
+               SyncState
        };
        virtual int getFrontendInfo(int w)=0;
+       virtual PyObject *getFrontendData(bool original=false)=0;
 };
 
 TEMPLATE_TYPEDEF(ePtr<iFrontendStatusInformation>, iFrontendStatusInformationPtr);
@@ -388,6 +399,7 @@ public:
                        /* returns a list of (pts, what)-tuples */
        virtual PyObject *getCutList() = 0;
        virtual void setCutList(PyObject *list) = 0;
+       virtual void setCutListEnable(int enable) = 0;
        enum { cutIn = 0, cutOut = 1, cutMark = 2 };
 };
 
@@ -418,6 +430,9 @@ public:
                
                evEOF,
                evSOF, /* bounced against start of file (when seeking backwards) */
+               
+                       /* only when cueSheet is implemented */
+               evCuesheetChanged,
        };
        virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
        virtual RESULT start()=0;
@@ -441,7 +456,7 @@ class iRecordableService: public iObject
        ~iRecordableService();
 #endif
 public:
-       virtual RESULT prepare(const char *filename)=0;
+       virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1)=0;
        virtual RESULT start()=0;
        virtual RESULT stop()=0;
 };