// eventData's are plain entrys out of the cache.. it's not safe to use them after cache unlock
// but its faster in use... its not allowed to delete this pointers via delete or free..
RESULT lookupEvent(const eServiceReference &service, int event_id, const eventData *&);
- RESULT lookupEvent(const eServiceReference &service, time_t , const eventData *&);
+ RESULT lookupEvent(const eServiceReference &service, time_t, const eventData *&);
RESULT getNextTimeEntry(const eventData *&);
#ifndef SWIG
#define __lib_service_event_h
#ifndef PYTHON
-
#include <time.h>
#include <lib/base/object.h>
#include <string>
class Event;
-
#endif
+
class eServiceEvent: public iObject
{
DECLARE_REF(eServiceEvent);
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; }