[hbbtv] changed ait handle
[vuplus_dvbapp] / lib / dvb / pmt.h
index 9216adc..98ace2b 100644 (file)
@@ -98,11 +98,13 @@ public:
        int m_OrgId;
        int m_AppId;
        int m_ControlCode;
        int m_OrgId;
        int m_AppId;
        int m_ControlCode;
+       short m_ProfileCode;
        std::string m_HbbTVUrl;
        std::string m_ApplicationName;
 public:
        std::string m_HbbTVUrl;
        std::string m_ApplicationName;
 public:
-       HbbTVApplicationInfo(int controlCode, int orgid, int appid, std::string hbbtvUrl, std::string applicationName)
-               : m_ControlCode(controlCode), m_HbbTVUrl(hbbtvUrl), m_ApplicationName(applicationName), m_OrgId(orgid), m_AppId(appid)
+       HbbTVApplicationInfo(int controlCode, int orgid, int appid, std::string hbbtvUrl, std::string applicationName, int profileCode)
+               : m_ControlCode(controlCode), m_HbbTVUrl(hbbtvUrl), m_ApplicationName(applicationName), m_OrgId(orgid), 
+                 m_AppId(appid), m_ProfileCode(profileCode)
        {}
 };
 typedef std::list<HbbTVApplicationInfo *> HbbTVApplicationInfoList;
        {}
 };
 typedef std::list<HbbTVApplicationInfo *> HbbTVApplicationInfoList;
@@ -155,6 +157,7 @@ class eDVBServicePMTHandler: public Object
        int m_use_decode_demux;
        uint8_t m_decode_demux_num;
        ePtr<eTimer> m_no_pat_entry_delay;
        int m_use_decode_demux;
        uint8_t m_decode_demux_num;
        ePtr<eTimer> m_no_pat_entry_delay;
+       uint8_t mDemuxId;
 public:
        eDVBServicePMTHandler();
        ~eDVBServicePMTHandler();
 public:
        eDVBServicePMTHandler();
        ~eDVBServicePMTHandler();
@@ -270,6 +273,7 @@ public:
        void sendEventNoPatEntry();
 
        void getHBBTVUrl(std::string &ret) { ret = m_HBBTVUrl; }
        void sendEventNoPatEntry();
 
        void getHBBTVUrl(std::string &ret) { ret = m_HBBTVUrl; }
+       void getDemuxID(int &id) { id = mDemuxId; }
 
        /* deprecated interface */
        int tune(eServiceReferenceDVB &ref, int use_decode_demux, eCueSheet *sg=0, bool simulate=false, eDVBService *service = 0);
 
        /* deprecated interface */
        int tune(eServiceReferenceDVB &ref, int use_decode_demux, eCueSheet *sg=0, bool simulate=false, eDVBService *service = 0);