From: Felix Domke Date: Wed, 18 Jan 2006 14:18:36 +0000 (+0000) Subject: add evEnd to (p)core X-Git-Tag: 2.6.0~4380 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/cc273e51a15dfbfd0f79f58cdb6fc1e115ceee81?ds=sidebyside add evEnd to (p)core --- diff --git a/lib/nav/core.cpp b/lib/nav/core.cpp index 957983d9..9bb43615 100644 --- a/lib/nav/core.cpp +++ b/lib/nav/core.cpp @@ -12,7 +12,7 @@ void eNavigation::serviceEvent(iPlayableService* service, int event) switch (event) { case iPlayableService::evEnd: -// m_event(this, ev); + m_event(this, evEnd); break; case iPlayableService::evStart: m_event(this, evNewService); diff --git a/lib/nav/core.h b/lib/nav/core.h index f1e0cd85..f1146b44 100644 --- a/lib/nav/core.h +++ b/lib/nav/core.h @@ -24,6 +24,7 @@ public: evUpdatedEventInfo, /** the "currently running" event info was updated */ evUpdatedInfo, /** the program info of this service was updated */ evSeekableStatusChanged, + evEnd }; RESULT playService(const eServiceReference &service); diff --git a/lib/nav/pcore.cpp b/lib/nav/pcore.cpp index 21a25748..5be1dfd2 100644 --- a/lib/nav/pcore.cpp +++ b/lib/nav/pcore.cpp @@ -64,5 +64,7 @@ void pNavigation::navEvent(eNavigation *nav, int event) case eNavigation::evSeekableStatusChanged: m_event(evSeekableStatusChanged); break; + case eNavigation::evEnd: + m_event(evEnd); } } diff --git a/lib/nav/pcore.h b/lib/nav/pcore.h index ad5d461b..07c979d6 100644 --- a/lib/nav/pcore.h +++ b/lib/nav/pcore.h @@ -20,6 +20,7 @@ public: evUpdatedEventInfo, /** the "currently running" event info was updated */ evUpdatedInfo, /** the program info of this service was updated */ evSeekableStatusChanged, + evEnd }; pNavigation();