From e126edab6b5649fef4c00f871925e06f24338843 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 13 Nov 2005 03:14:44 +0000 Subject: [PATCH 1/1] add stop service --- lib/nav/pcore.cpp | 5 +++++ lib/nav/pcore.h | 1 + 2 files changed, 6 insertions(+) diff --git a/lib/nav/pcore.cpp b/lib/nav/pcore.cpp index 593af58e..3dbe7106 100644 --- a/lib/nav/pcore.cpp +++ b/lib/nav/pcore.cpp @@ -46,6 +46,11 @@ RESULT pNavigation::pause(int p) return m_core->pause(p); } +RESULT pNavigation::stopService() +{ + return m_core->stopService(); +} + void pNavigation::navEvent(eNavigation *nav, int event) { /* just relay the events here. */ diff --git a/lib/nav/pcore.h b/lib/nav/pcore.h index 9e490844..20d7f94b 100644 --- a/lib/nav/pcore.h +++ b/lib/nav/pcore.h @@ -29,6 +29,7 @@ public: RESULT enqueueService(const eServiceReference &service); SWIG_VOID(RESULT) getCurrentService(ePtr &SWIG_OUTPUT); SWIG_VOID(RESULT) getPlaylist(ePtr &SWIG_OUTPUT); + RESULT stopService(); RESULT pause(int p); private: -- 2.30.2