add possibility to read detailed epg from Digital+
[enigma2.git] / lib / dvb / teletext.h
index a73783ae794eb18947a87aa455804ee111221734..af9d71f1709627b9960efd72b3569773a4138e42 100644 (file)
@@ -19,6 +19,7 @@ struct eDVBTeletextSubtitlePageElement
 struct eDVBTeletextSubtitlePage
 {
        pts_t m_pts;
+       int m_have_pts;
        int m_timeout; /* in pts */
        std::vector<eDVBTeletextSubtitlePageElement> m_elements;
        
@@ -35,6 +36,8 @@ public:
        void setPage(int page);
        
        void connectNewPage(const Slot1<void,const eDVBTeletextSubtitlePage &> &slot, ePtr<eConnection> &connection);
+       
+       std::set<int> m_found_subtitle_pages;
 private:
        void processPESPacket(__u8 *pkt, int len);
        
@@ -45,16 +48,16 @@ private:
        
        int m_M, m_Y, m_X, m_S1, m_S2, m_S3, m_S4, m_C;
        
-       int m_page_M, m_page_X, m_page_open;
+       int m_page_M, m_page_X, m_page_open, m_double_height;
        
        void handlePageStart();
        void handleLine(unsigned char *line, int len);
-       void handlePageEnd();
+       void handlePageEnd(int have_pts, const pts_t &pts);
        
        std::string m_subtitle_text;
        int m_subtitle_color;
        
-       void addSubtitleString(int color, const std::string &string);
+       void addSubtitleString(int color, std::string string);
        
        void sendSubtitlePage();