From: Felix Domke Date: Thu, 16 Feb 2006 03:39:15 +0000 (+0000) Subject: improve cuesheet interface a bit by making it atomic X-Git-Tag: 2.6.0~4159 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/47fe375aef171c91915625d5f48a4e5a39b6e3b7 improve cuesheet interface a bit by making it atomic --- diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 2d38d6f6..78533017 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