diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-11-22 15:09:29 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-11-22 15:09:29 +0000 |
| commit | 06f7820d3c5fff95b0609c1e5830cc234a0b2741 (patch) | |
| tree | 6f8af553dc950ad2e83d7993d94bf992b7d6765e /lib/service/iservice.h | |
| parent | e5784ad0bf002b26befbbffbf5ebea5a01ceb2c7 (diff) | |
| download | enigma2-06f7820d3c5fff95b0609c1e5830cc234a0b2741.tar.gz enigma2-06f7820d3c5fff95b0609c1e5830cc234a0b2741.zip | |
recording service events now working
TODO: add record specific events like diskfull, demux errors, a.o.
Diffstat (limited to 'lib/service/iservice.h')
| -rw-r--r-- | lib/service/iservice.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 73a0f4ef..1dd419c1 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -512,7 +512,9 @@ public: evUpdatedRadioText }; +#ifndef SWIG virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0; +#endif virtual RESULT start()=0; virtual RESULT stop()=0; /* might have to be changed... */ @@ -547,6 +549,7 @@ public: evTunedIn, evTuneFailed, evRecordRunning, + evRecordStopped, evNewProgramInfo, evRecordFailed // evDiskFull @@ -560,8 +563,10 @@ public: errDiskFull=-4, errTuneFailed=-255 }; - virtual RESULT getError(int &)=0; +#ifndef SWIG virtual RESULT connectEvent(const Slot2<void,iRecordableService*,int> &event, ePtr<eConnection> &connection)=0; +#endif + virtual RESULT getError(int &)=0; virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1)=0; virtual RESULT start()=0; virtual RESULT stop()=0; @@ -570,6 +575,8 @@ public: TEMPLATE_TYPEDEF(ePtr<iRecordableService>, iRecordableServicePtr); +PyObject *PyFrom(ePtr<iRecordableService>&); // implemented in servicedvbrecord.cpp + // TEMPLATE_TYPEDEF(std::list<eServiceReference>, eServiceReferenceList); class iMutableServiceList: public iObject |
