4 #include <lib/base/object.h>
5 #include <lib/service/iservice.h>
6 #include <connection.h>
8 class eNavigation: public iObject, public Object
10 DECLARE_REF(eNavigation);
12 ePtr<iPlayableService> m_runningService;
14 ePtr<iServiceHandler> m_servicehandler;
15 Signal2<void,eNavigation*,int> m_event;
16 ePtr<eConnection> m_service_event_conn;
17 void serviceEvent(iPlayableService* service, int event);
20 RESULT playService(const eServiceReference &service);
21 RESULT connectEvent(const Slot2<void,eNavigation*,int> &event, ePtr<eConnection> &connection);
22 /* int connectServiceEvent(const Slot1<void,iPlayableService*,int> &event, ePtr<eConnection> &connection); */
23 RESULT getCurrentService(ePtr<iPlayableService> &service);
24 RESULT stopService(void);
26 RESULT recordService(const eServiceReference &ref, ePtr<iRecordableService> &service);
29 eNavigation(iServiceHandler *serviceHandler);
30 virtual ~eNavigation();