implement readFrontendData method to get a python dictionary containing data
[enigma2.git] / lib / service / event.h
index 550d9a851245dd8a64c427e44ab2e552df0646d9..9ee6538bd08d4c2462a55765c37d2f60e9983c51 100644 (file)
@@ -37,6 +37,7 @@ class eServiceEvent: public iObject
        std::list<eServiceReference> m_linkage_services;
        time_t m_begin;
        int m_duration;
+       int m_event_id;
        std::string m_event_name, m_short_description, m_extended_description;
        // .. additional info
 public:
@@ -45,13 +46,14 @@ public:
 #endif
        time_t getBeginTime() const { return m_begin; }
        int getDuration() const { return m_duration; }
+       int getEventId() const { return m_event_id; }
        std::string getEventName() const { return m_event_name; }
        std::string getShortDescription() const { return m_short_description; }
        std::string getExtendedDescription() const { return m_extended_description; }
        std::string getBeginTimeString() const;
        SWIG_VOID(RESULT) getComponentData(ePtr<eComponentData> &SWIG_OUTPUT, int tagnum) const;
        int getNumOfLinkageServices() const { return m_linkage_services.size(); }
-       SWIG_VOID(RESULT) getLinkageService(eServiceReference &SWIG_OUTPUT, int num) const;
+       SWIG_VOID(RESULT) getLinkageService(eServiceReference &SWIG_OUTPUT, eServiceReference &parent, int num) const;
 };
 
 TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEventPtr);