add infrastructure for record service events (not finished yet)
[enigma2.git] / lib / service / event.h
index 0a6891aac4c738fcc53fc7125747fe3070387e72..25b9d0b7df4e463ba7a51c942c7c3dbc080ae381 100644 (file)
@@ -39,11 +39,14 @@ class eServiceEvent: public iObject
        int m_duration;
        int m_event_id;
        std::string m_event_name, m_short_description, m_extended_description;
+       static std::string m_language;
        // .. additional info
 public:
 #ifndef SWIG
        RESULT parseFrom(Event *evt, int tsidonid=0);
+       RESULT parseFrom(const std::string filename, int tsidonid=0);
 #endif
+       static void setEPGLanguage( const std::string language );
        time_t getBeginTime() const { return m_begin; }
        int getDuration() const { return m_duration; }
        int getEventId() const { return m_event_id; }
@@ -53,7 +56,7 @@ public:
        std::string getBeginTimeString() const;
        SWIG_VOID(RESULT) getComponentData(ePtr<eComponentData> &SWIG_OUTPUT, int tagnum) const;
        int getNumOfLinkageServices() const { return m_linkage_services.size(); }
-       SWIG_VOID(RESULT) getLinkageService(eServiceReference &SWIG_OUTPUT, int num) const;
+       SWIG_VOID(RESULT) getLinkageService(eServiceReference &SWIG_OUTPUT, eServiceReference &parent, int num) const;
 };
 
 TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEventPtr);