aboutsummaryrefslogtreecommitdiff
path: root/lib/nav/core.cpp
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-01-26 13:24:51 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-01-26 13:24:51 +0000
commit0e65f17c7564ec8ea11477a9baa5e6ef82fc94f8 (patch)
treee17447ced4829fc96cc56c878451830732fe9c10 /lib/nav/core.cpp
parent97c9f91d14f91c91e3e01b0e032d5698a4b38886 (diff)
downloadenigma2-0e65f17c7564ec8ea11477a9baa5e6ef82fc94f8.tar.gz
enigma2-0e65f17c7564ec8ea11477a9baa5e6ef82fc94f8.zip
remove navigation events, they correspond to the iPlayableService events now
Diffstat (limited to 'lib/nav/core.cpp')
-rw-r--r--lib/nav/core.cpp24
1 files changed, 3 insertions, 21 deletions
diff --git a/lib/nav/core.cpp b/lib/nav/core.cpp
index 9bb43615..71204787 100644
--- a/lib/nav/core.cpp
+++ b/lib/nav/core.cpp
@@ -9,26 +9,7 @@ void eNavigation::serviceEvent(iPlayableService* service, int event)
return;
}
- switch (event)
- {
- case iPlayableService::evEnd:
- m_event(this, evEnd);
- break;
- case iPlayableService::evStart:
- m_event(this, evNewService);
- break;
- case iPlayableService::evUpdatedEventInfo:
- m_event(this, evUpdatedEventInfo);
- break;
- case iPlayableService::evUpdatedInfo:
- m_event(this, evUpdatedInfo);
- break;
- case iPlayableService::evSeekableStatusChanged:
- m_event(this, evSeekableStatusChanged);
- break;
- default:
- break;
- }
+ m_event(this, event);
}
RESULT eNavigation::playService(const eServiceReference &service)
@@ -63,8 +44,9 @@ RESULT eNavigation::stopService(void)
if (!m_runningService)
return 1;
/* send stop event */
- m_event(this, evStopService);
+ m_event(this, iPlayableService::evEnd);
+ m_runningService->stop();
/* kill service. */
m_runningService = 0;
m_service_event_conn = 0;