1 #ifndef __lib_nav_pcore_h
2 #define __lib_nav_pcore_h
4 #include <lib/nav/core.h>
5 #include <lib/python/connections.h>
7 /* a subset of eNavigation */
9 class pNavigation: public iObject, public Object
11 DECLARE_REF(pNavigation);
13 PSignal1<void, int> m_event;
14 PSignal2<void, ePtr<iRecordableService>&, int> m_record_event;
18 RESULT playService(const eServiceReference &service);
21 SWIG_VOID(RESULT) getCurrentService(ePtr<iPlayableService> &SWIG_OUTPUT);
23 SWIG_VOID(RESULT) recordService(const eServiceReference &ref, ePtr<iRecordableService> &SWIG_OUTPUT);
24 RESULT stopRecordService(ePtr<iRecordableService> &service);
25 PyObject *getRecordings(void);
28 ePtr<eNavigation> m_core;
29 ePtr<eConnection> m_nav_event_connection, m_nav_record_event_connection;
30 void navEvent(int event);
31 void navRecordEvent(ePtr<iRecordableService>, int event);