X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fservice%2Fiservice.h;h=74ec80e644fec335ae426d252315384cabef55af;hp=c35313f04b199efd47d5242f6edb335d88278f16;hb=5e0c1dbc3610b703f59fa798748b1676c0f356cc;hpb=c65fd5422ede36301e35382effbcc5af591893ce diff --git a/lib/service/iservice.h b/lib/service/iservice.h index c35313f..74ec80e 100644 --- a/lib/service/iservice.h +++ b/lib/service/iservice.h @@ -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 &SWIG_OUTPUT)=0; virtual SWIG_VOID(RESULT) streamed(ePtr &SWIG_OUTPUT)=0; virtual SWIG_VOID(RESULT) keys(ePtr &SWIG_OUTPUT)=0; + virtual void setQpipMode(bool value, bool audio)=0; }; SWIG_TEMPLATE_TYPEDEF(ePtr, 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 &event, ePtr &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 &SWIG_OUTPUT)=0; virtual SWIG_VOID(RESULT) stream(ePtr &SWIG_OUTPUT)=0; virtual SWIG_VOID(RESULT) subServices(ePtr &SWIG_OUTPUT)=0; + virtual SWIG_VOID(RESULT) getServiceType(int &SWIG_OUTPUT)=0; }; SWIG_TEMPLATE_TYPEDEF(ePtr, iRecordableServicePtr);