X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/49fe6e80f4664c97c95ea73001c3a8b34718b564..f995ffff71d819416a89c1bec3ceb69d121daa4e:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 2d38d6f6..bc0fc974 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -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, 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 &event, ePtr &connection)=0; virtual RESULT start()=0;