X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/dba614edd2aad3c17e244914eaef3809d8300cb1..d2ceae9583bc62daa872c316f8952b9a6a416a69:/lib/service/event.h diff --git a/lib/service/event.h b/lib/service/event.h index 99ce5b24..7e6cf5d8 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -1,23 +1,34 @@ #ifndef __lib_service_event_h #define __lib_service_event_h +#ifndef PYTHON #include #include #include class Event; +#endif class eServiceEvent: public iObject { DECLARE_REF(eServiceEvent); public: +#ifndef PYTHON time_t m_begin; int m_duration; - std::string m_event_name, m_description; + std::string m_event_name, m_short_description, m_extended_description; // .. additional info - + bool loadLanguage(Event *event, std::string lang); RESULT parseFrom(Event *evt); +#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(); }; +#ifndef PYTHON TEMPLATE_TYPEDEF(ePtr, eServiceEventPtr); class eDebugClass: public iObject @@ -31,5 +42,6 @@ public: }; // TEMPLATE_TYPEDEF(ePtr, eDebugClassPtr); +#endif #endif