X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/59efe28a00e5713ad5279ed976430da31292a129..8bd62c4086556c08908ba18292b47509e56d4d61:/lib/service/event.h diff --git a/lib/service/event.h b/lib/service/event.h index 6993d815..07106e40 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -1,25 +1,37 @@ #ifndef __lib_service_event_h #define __lib_service_event_h +#ifndef SWIG #include #include #include class Event; +#endif class eServiceEvent: public iObject { DECLARE_REF(eServiceEvent); +#ifndef SWIG + bool loadLanguage(Event *event, std::string lang, int tsidonid); +#endif public: +#ifndef SWIG time_t m_begin; int m_duration; std::string m_event_name, m_short_description, m_extended_description; // .. additional info - - bool loadLanguage(Event *event, std::string lang); - RESULT parseFrom(Event *evt); + RESULT parseFrom(Event *evt, int tsidonid=0); +#endif + time_t getBeginTime() { return m_begin; } + int getDuration() { return m_duration; } + std::string getEventName() { return m_event_name; } + std::string getShortDescription() { return m_short_description; } + std::string getExtendedDescription() { return m_extended_description; } + std::string getBeginTimeString(); }; TEMPLATE_TYPEDEF(ePtr, eServiceEventPtr); +#ifndef SWIG class eDebugClass: public iObject { @@ -32,5 +44,6 @@ public: }; // TEMPLATE_TYPEDEF(ePtr, eDebugClassPtr); +#endif #endif