Update EPG Cache(thanks to open source community)
[vuplus_dvbapp] / lib / service / iservice.h
index c35313f..74ec80e 100644 (file)
@@ -19,7 +19,8 @@ public:
                idStructure,    // service_id == 0 is root
                idDVB,
                idFile,
-               idUser=0x1000
+               idUser=0x1000,
+               idServiceMP3=0x1001
        };
        int type;
 
@@ -289,6 +290,7 @@ public:
                sFileSize,
 
                sCAIDs,
+               sCAIDPIDs,
                sVideoType,             /* MPEG2 MPEG4 */
 
                sTags,                          /* space seperated list of tags */
@@ -356,6 +358,12 @@ public:
                sTagCRC,
                sTagChannelMode,
 
+               sTransferBPS,
+
+               sHBBTVUrl,
+               sLiveStreamDemuxId,
+               sIsScrambled,
+
                sUser = 0x100
        };
        enum {
@@ -594,6 +602,7 @@ class iTimeshiftService: public iObject
 public:
        virtual RESULT startTimeshift()=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 */
@@ -832,6 +841,9 @@ public:
                evBuffering,
 
                evStopped,
+               evHBBTVInfo,
+
+               evFccFailed,
 
                evUser = 0x100
        };
@@ -868,6 +880,7 @@ public:
        virtual SWIG_VOID(RESULT) stream(ePtr<iStreamableService> &SWIG_OUTPUT)=0;
        virtual SWIG_VOID(RESULT) streamed(ePtr<iStreamedService> &SWIG_OUTPUT)=0;
        virtual SWIG_VOID(RESULT) keys(ePtr<iServiceKeys> &SWIG_OUTPUT)=0;
+       virtual void setQpipMode(bool value, bool audio)=0;
 };
 SWIG_TEMPLATE_TYPEDEF(ePtr<iPlayableService>, iPlayableServicePtr);
 
@@ -888,7 +901,10 @@ public:
                evNewProgramInfo,
                evRecordFailed,
                evRecordWriteError,
-               evNewEventInfo
+               evNewEventInfo,
+               evTuneStart,
+               evPvrTuneStart,
+               evPvrEof,
        };
        enum {
                NoError=0,
@@ -899,6 +915,7 @@ public:
                errTuneFailed=-255,
                errMisconfiguration = -256,
                errNoResources = -257,
+               errNoCiConnected = -258
        };
 };
 
@@ -914,13 +931,14 @@ public:
        virtual RESULT connectEvent(const Slot2<void,iRecordableService*,int> &event, ePtr<eConnection> &connection)=0;
 #endif
        virtual SWIG_VOID(RESULT) getError(int &SWIG_OUTPUT)=0;
-       virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1, const char *name=0, const char *descr=0, const char *tags=0)=0;
+       virtual RESULT prepare(const char *filename, time_t begTime=-1, time_t endTime=-1, int eit_event_id=-1, const char *name=0, const char *descr=0, const char *tags=0, bool descramble = true, bool recordecm = false)=0;
        virtual RESULT prepareStreaming()=0;
        virtual RESULT start(bool simulate=false)=0;
        virtual RESULT stop()=0;
        virtual SWIG_VOID(RESULT) frontendInfo(ePtr<iFrontendInformation> &SWIG_OUTPUT)=0;
        virtual SWIG_VOID(RESULT) stream(ePtr<iStreamableService> &SWIG_OUTPUT)=0;
        virtual SWIG_VOID(RESULT) subServices(ePtr<iSubserviceList> &SWIG_OUTPUT)=0;
+       virtual SWIG_VOID(RESULT) getServiceType(int &SWIG_OUTPUT)=0;
 };
 SWIG_TEMPLATE_TYPEDEF(ePtr<iRecordableService>, iRecordableServicePtr);