aboutsummaryrefslogtreecommitdiff
path: root/lib/service/event.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-26 19:01:11 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2005-11-26 19:01:11 +0000
commitf94e2c9821eb8784ca03b7122485d4720ec6d6e6 (patch)
tree6da2323d2220093ea1c3756dbddb8e02fded2969 /lib/service/event.h
parent68271eeaf83872270f13cc01e98960367d7d553f (diff)
downloadenigma2-f94e2c9821eb8784ca03b7122485d4720ec6d6e6.tar.gz
enigma2-f94e2c9821eb8784ca03b7122485d4720ec6d6e6.zip
add ability to select default encoding for dvb texts in many ways.. ( take a look in data/encodings.conf )
Diffstat (limited to 'lib/service/event.h')
-rw-r--r--lib/service/event.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/service/event.h b/lib/service/event.h
index 7e6cf5d8..07106e40 100644
--- a/lib/service/event.h
+++ b/lib/service/event.h
@@ -1,7 +1,7 @@
#ifndef __lib_service_event_h
#define __lib_service_event_h
-#ifndef PYTHON
+#ifndef SWIG
#include <time.h>
#include <lib/base/object.h>
#include <string>
@@ -11,14 +11,16 @@ class Event;
class eServiceEvent: public iObject
{
DECLARE_REF(eServiceEvent);
+#ifndef SWIG
+ bool loadLanguage(Event *event, std::string lang, int tsidonid);
+#endif
public:
-#ifndef PYTHON
+#ifndef SWIG
time_t m_begin;
int m_duration;
std::string m_event_name, m_short_description, m_extended_description;
// .. additional info
- bool loadLanguage(Event *event, std::string lang);
- RESULT parseFrom(Event *evt);
+ RESULT parseFrom(Event *evt, int tsidonid=0);
#endif
time_t getBeginTime() { return m_begin; }
int getDuration() { return m_duration; }
@@ -28,8 +30,8 @@ public:
std::string getBeginTimeString();
};
-#ifndef PYTHON
TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEventPtr);
+#ifndef SWIG
class eDebugClass: public iObject
{