format, ac3 and crypted indicators now working
[enigma2.git] / lib / nav / pcore.h
index 004bab27c89c39717a3d4bbe4ff6bf455f4727cd..9d4cd00e67c1a76d8cb61ced042aa878df1f922d 100644 (file)
@@ -8,7 +8,7 @@
 
 class pNavigation: public iObject, public Object
 {
-DECLARE_REF;
+DECLARE_REF(pNavigation);
 public:
        PSignal1<void, int> m_event;
        
@@ -18,15 +18,19 @@ public:
                evNewService,   /** a new "current" service was just started */
                evPlayFailed,   /** the next service (in playlist) or the one given in playService failed to play */
                evPlaylistDone, /** the last service in the playlist was just played */
-               evUpdatedEventInfo /** the "currently running" event info was updated */
+               evUpdatedEventInfo, /** the "currently running" event info was updated */
+               evUpdatedInfo, /** the program info of this service was updated */
        };
        
        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: