add transfer bps to service interface (requires touching enigma_python.i)
[enigma2.git] / lib / service / iservice.h
index 24c2e341c04e13f078176b834db463364d9bed65..2ba7cb461b9abc0b46983d24a6b82c6ffa2ca5b0 100644 (file)
@@ -356,6 +356,8 @@ public:
                sTagCRC,
                sTagChannelMode,
 
+               sTransferBPS,
+
                sUser = 0x100
        };
        enum {
@@ -593,7 +595,8 @@ class iTimeshiftService: public iObject
 #endif
 public:
        virtual RESULT startTimeshift()=0;
-       virtual RESULT stopTimeshift()=0;
+       virtual RESULT stopTimeshift(bool swToLive=true)=0;
+       virtual RESULT setNextPlaybackFile(const char *fn)=0; // not needed by our internal timeshift.. but external plugin...
 
        virtual int isTimeshiftActive()=0;
                        /* this essentially seeks to the relative end of the timeshift buffer */
@@ -719,6 +722,9 @@ public:
 
                /* for transferring a service... */
        virtual SWIG_VOID(RESULT) getListOfFilenames(std::list<std::string> &SWIG_OUTPUT)=0;
+       
+               /* a blocking call to reindex a file */
+       virtual int reindex() = 0;
 
                // TODO: additional stuff, like a conversion interface?
 };