aboutsummaryrefslogtreecommitdiff
path: root/lib/service/event.h
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-06-13 09:57:56 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-06-13 09:57:56 +0000
commit2e0270746af934180499931f95ed91c444c8233e (patch)
tree8a3347e3ba191a05067d2ad43b23c221d9cc9fff /lib/service/event.h
parent86470f194147f01561a0d371eb8eb8977eccaa93 (diff)
downloadenigma2-2e0270746af934180499931f95ed91c444c8233e.tar.gz
enigma2-2e0270746af934180499931f95ed91c444c8233e.zip
after DECLARE_REF now all is private.. not public
dont export AddRef, Release, ptrref and grabRef to python some cleanups
Diffstat (limited to 'lib/service/event.h')
-rw-r--r--lib/service/event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/service/event.h b/lib/service/event.h
index 8c214af6..4c354079 100644
--- a/lib/service/event.h
+++ b/lib/service/event.h
@@ -14,14 +14,14 @@ class Event;
SWIG_IGNORE(eComponentData);
struct eComponentData
{
-DECLARE_REF(eComponentData);
-#ifndef SWIG
+ friend class eServiceEvent;
+ DECLARE_REF(eComponentData);
uint8_t m_streamContent;
uint8_t m_componentType;
uint8_t m_componentTag;
std::string m_iso639LanguageCode;
std::string m_text;
-#endif
+public:
eComponentData(const eComponentData& d) { *this = d; }
eComponentData() { m_streamContent = m_componentType = m_componentTag = 0; }
int getStreamContent(void) const { return m_streamContent; }