X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/bf7bc184d74a404dc73ea230d525b78d07aa09de..d2ceae9583bc62daa872c316f8952b9a6a416a69:/lib/service/event.h diff --git a/lib/service/event.h b/lib/service/event.h index cbce6f17..7e6cf5d8 100644 --- a/lib/service/event.h +++ b/lib/service/event.h @@ -2,13 +2,12 @@ #define __lib_service_event_h #ifndef PYTHON - #include #include #include class Event; - #endif + class eServiceEvent: public iObject { DECLARE_REF(eServiceEvent); @@ -21,7 +20,7 @@ public: bool loadLanguage(Event *event, std::string lang); RESULT parseFrom(Event *evt); #endif - long getBeginTime() { return (long)m_begin; } + 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; }