X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/69382ab48558b9305b27e464857deebdfa52b6b9..cedb8844dbefb4723e47ba0610582100b5362409:/lib/service/iservice.h diff --git a/lib/service/iservice.h b/lib/service/iservice.h index 5a5a6cee..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,9 @@ public: // when iServiceInformation is implemented: evUpdatedEventInfo, evUpdatedInfo, + + /* when seek() is implemented: */ + evSeekableStatusChanged, /* for example when timeshifting */ evEOF };