add enq cancel
[enigma2.git] / lib / nav / pcore.h
index 004bab2..20d7f94 100644 (file)
@@ -8,7 +8,7 @@
 
 class pNavigation: public iObject, public Object
 {
-DECLARE_REF;
+DECLARE_REF(pNavigation);
 public:
        PSignal1<void, int> m_event;
        
@@ -24,9 +24,12 @@ public:
        pNavigation();
        
        RESULT playService(const eServiceReference &service);
+       SWIG_VOID(RESULT) recordService(const eServiceReference &ref, ePtr<iRecordableService> &SWIG_OUTPUT);
+       
        RESULT enqueueService(const eServiceReference &service);
-       RESULT getCurrentService(ePtr<iPlayableService> &service);
-       RESULT getPlaylist(ePtr<ePlaylist> &playlist);
+       SWIG_VOID(RESULT) getCurrentService(ePtr<iPlayableService> &SWIG_OUTPUT);
+       SWIG_VOID(RESULT) getPlaylist(ePtr<ePlaylist> &SWIG_OUTPUT);
+       RESULT stopService();
        
        RESULT pause(int p);
 private: