X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/85f2616ef78700cf2639992abaf1011ecaa897bd..4b1d2e8d5bf0f73579dc1b385a4d66316b62c418:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index d234b6af..2b42510d 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -365,6 +365,10 @@ class iTimeshiftService: public iObject public: virtual RESULT startTimeshift()=0; virtual RESULT stopTimeshift()=0; + + virtual int isTimeshiftActive()=0; + /* this essentially seeks to the relative end of the timeshift buffer */ + virtual RESULT activateTimeshift()=0; }; TEMPLATE_TYPEDEF(ePtr, iTimeshiftServicePtr); @@ -386,6 +390,11 @@ public: // when iServiceInformation is implemented: evUpdatedEventInfo, evUpdatedInfo, + + /* when seek() is implemented: */ + evSeekableStatusChanged, /* for example when timeshifting */ + + evEOF }; virtual RESULT connectEvent(const Slot2 &event, ePtr &connection)=0; virtual RESULT start()=0;