3bb8f4ef8ec9b43c47857b73bdbac089e807c0e3
[enigma2.git] / lib / nav / pcore.h
1 #ifndef __lib_nav_pcore_h
2 #define __lib_nav_pcore_h
3
4 #include <lib/nav/core.h>
5 #include <lib/python/connections.h>
6
7 /* a subset of eNavigation */
8
9 class pNavigation: public iObject
10 {
11 DECLARE_REF;
12 private:
13         ePtr<eNavigation> m_core;
14 public:
15         PSignal1<void, int> event;
16         
17         pNavigation();
18         
19         RESULT playService(const eServiceReference &service);
20         RESULT enqueueService(const eServiceReference &service);
21         RESULT getCurrentService(ePtr<iPlayableService> &service);
22         RESULT getPlaylist(ePtr<ePlaylist> &playlist);
23         
24         RESULT pause(int p);
25 };
26
27 #endif