X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/aa46ed3678a61b28b5c067b446afeebd4100abd8..fd388a500b0c45afb1668ba28758dbc1ea5631b1:/lib/service/event.h 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; }