git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix marking non playable services in channellist
[enigma2.git]
/
lib
/
service
/
event.h
diff --git
a/lib/service/event.h
b/lib/service/event.h
index 3a71f7b732732dadff6d1263ec86e02b42640c5f..3bbb322efd127ffe4e82a991395b8922e2fbafde 100644
(file)
--- a/
lib/service/event.h
+++ b/
lib/service/event.h
@@
-1,25
+1,35
@@
#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 <time.h>
#include <lib/base/object.h>
+#include <list>
#include <string>
class Event;
#include <string>
class Event;
-
#endif
#endif
+
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
+ struct linkage_service
+ {
+ uint16_t sid;
+ uint16_t onid;
+ uint16_t tsid;
+ std::string description;
+ };
+ std::list<linkage_service> m_linkage_services;
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; }
@@
-29,8
+39,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
{