remove __init__.py files and create them on the fly
[enigma2.git] / lib / service / iservice.h
index 2d38d6f66e0ec4d90d0d6ccfd62031ee56095422..bc0fc974bed0935e77764e57374b49ae750a04a6 100644 (file)
@@ -387,13 +387,12 @@ class iCueSheet: public iObject
 public:
                        /* returns a list of (pts, what)-tuples */
        virtual PyObject *getCutList() = 0;
-       
+       virtual void setCutList(PyObject *list) = 0;
        enum { cutIn = 0, cutOut = 1, cutMark = 2 };
-       
-       virtual RESULT addCut(const pts_t &when, int what) = 0;
-       virtual RESULT removeCut(const pts_t &when, int what) = 0;
 };
 
+TEMPLATE_TYPEDEF(ePtr<iCueSheet>, iCueSheetPtr);
+
 class iPlayableService: public iObject
 {
 #ifdef SWIG
@@ -419,6 +418,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;