X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/62df50fabcb503c81aaaac60819bda2578317323..cd883d9759844701ef57afa0cb03de7722acc5e5:/lib/service/event.h diff --git a/lib/service/event.h b/lib/service/event.h index 0a6891aa..25b9d0b7 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -39,11 +39,14 @@ class eServiceEvent: public iObject 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; } @@ -53,7 +56,7 @@ public: 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);