X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/572caca1ba06dd8247724c9f5d6bcad515e2edf4..9511adb1e0b28923cd05f5bcb74575d49e57f650:/lib/service/event.h diff --git a/lib/service/event.h b/lib/service/event.h index 550d9a85..25b9d0b7 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -37,21 +37,26 @@ class eServiceEvent: public iObject std::list 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; + static std::string m_language; // .. additional info public: #ifndef SWIG RESULT parseFrom(Event *evt, int tsidonid=0); + RESULT parseFrom(const std::string filename, int tsidonid=0); #endif + static void setEPGLanguage( const std::string language ); 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 &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, eServiceEventPtr);