diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-16 03:39:15 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-16 03:39:15 +0000 |
| commit | 47fe375aef171c91915625d5f48a4e5a39b6e3b7 (patch) | |
| tree | 9acb6fc7ac9ea15acd05beaacdf67b879990b3d0 | |
| parent | e0b3a48f3ac9f4e5c3ec5efd13364ed3a639fd93 (diff) | |
| download | enigma2-47fe375aef171c91915625d5f48a4e5a39b6e3b7.tar.gz enigma2-47fe375aef171c91915625d5f48a4e5a39b6e3b7.zip | |
improve cuesheet interface a bit by making it atomic
| -rw-r--r-- | lib/service/iservice.h | 7 |
1 files 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<iCueSheet>, iCueSheetPtr); + class iPlayableService: public iObject { #ifdef SWIG |
