+public:
+#ifndef SWIG
+ RESULT parseFrom(Event *evt, int tsidonid=0);
+ RESULT parseFrom(const std::string filename, int tsidonid=0);
+ static void setEPGLanguage( const std::string language );
+#endif
+ time_t getBeginTime() const { return m_begin; }
+ int getDuration() const { return m_duration; }
+ int getEventId() const { return m_event_id; }
+ std::string getEventName() const { return m_event_name; }
+ std::string getShortDescription() const { return m_short_description; }
+ std::string getExtendedDescription() const { return m_extended_description; }
+ std::string getBeginTimeString() const;
+ SWIG_VOID(RESULT) getComponentData(ePtr<eComponentData> &SWIG_OUTPUT, int tagnum) const;
+ PyObject *getComponentData() const;
+ int getNumOfLinkageServices() const { return m_linkage_services.size(); }
+ SWIG_VOID(RESULT) getLinkageService(eServiceReference &SWIG_OUTPUT, eServiceReference &parent, int num) const;
+};
+SWIG_TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEvent);
+SWIG_EXTEND(ePtr<eServiceEvent>,
+ static void setEPGLanguage( const std::string language )
+ {
+ extern void setServiceEventLanguage(const std::string language);
+ setServiceEventLanguage(language);
+ }
+);
+
+#ifndef SWIG
+SWIG_IGNORE(eDebugClass);
+class eDebugClass: public iObject
+{
+ DECLARE_REF(eDebugClass);
+public:
+ int x;
+ static void getDebug(ePtr<eDebugClass> &ptr, int x) { ptr = new eDebugClass(x); }
+ eDebugClass(int i) { printf("build debug class %d\n", i); x = i; }
+ ~eDebugClass() { printf("remove debug class %d\n", x); }