From 47fe375aef171c91915625d5f48a4e5a39b6e3b7 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 16 Feb 2006 03:39:15 +0000 Subject: [PATCH] improve cuesheet interface a bit by making it atomic --- lib/service/iservice.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.30.2