From cc273e51a15dfbfd0f79f58cdb6fc1e115ceee81 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 18 Jan 2006 14:18:36 +0000 Subject: [PATCH] add evEnd to (p)core --- lib/nav/core.cpp | 2 +- lib/nav/core.h | 1 + lib/nav/pcore.cpp | 2 ++ lib/nav/pcore.h | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) 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(); -- 2.30.2