git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ability to select default encoding for dvb texts in many ways.. ( take a look...
[enigma2.git]
/
lib
/
service
/
event.h
diff --git
a/lib/service/event.h
b/lib/service/event.h
index 7e6cf5d83662aa63d44eff8dbd8b9aff7c3da0ad..07106e40e1eb87e9ed4698fa018ee559ee4c7abc 100644
(file)
--- 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 __lib_service_event_h
#define __lib_service_event_h
-#ifndef
PYTHON
+#ifndef
SWIG
#include <time.h>
#include <lib/base/object.h>
#include <string>
#include <time.h>
#include <lib/base/object.h>
#include <string>
@@
-11,14
+11,16
@@
class Event;
class eServiceEvent: public iObject
{
DECLARE_REF(eServiceEvent);
class eServiceEvent: public iObject
{
DECLARE_REF(eServiceEvent);
+#ifndef SWIG
+ bool loadLanguage(Event *event, std::string lang, int tsidonid);
+#endif
public:
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
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; }
#endif
time_t getBeginTime() { return m_begin; }
int getDuration() { return m_duration; }
@@
-28,8
+30,8
@@
public:
std::string getBeginTimeString();
};
std::string getBeginTimeString();
};
-#ifndef PYTHON
TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEventPtr);
TEMPLATE_TYPEDEF(ePtr<eServiceEvent>, eServiceEventPtr);
+#ifndef SWIG
class eDebugClass: public iObject
{
class eDebugClass: public iObject
{