aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nav/core.cpp2
-rw-r--r--lib/nav/core.h1
-rw-r--r--lib/nav/pcore.cpp2
-rw-r--r--lib/nav/pcore.h1
4 files changed, 5 insertions, 1 deletions
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();