start on device list, don't crash when list is empty
[enigma2.git] / lib / nav / pcore.h
index d2e98b79d9ca906b9efa691c1653d57bcb480f9d..e9a06403e5715d51bb263074bb1f875ef069d3ff 100644 (file)
@@ -12,23 +12,13 @@ DECLARE_REF(pNavigation);
 public:
        PSignal1<void, int> m_event;
        
-       enum
-       {
-               evStopService,  /** the "current" service was just stopped and likes to be deallocated (clear refs!) */
-               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 */
-       };
-       
        pNavigation();
        
        RESULT playService(const eServiceReference &service);
-       RESULT recordService(const eServiceReference &ref, ePtr<iRecordableService> &service);
+       SWIG_VOID(RESULT) recordService(const eServiceReference &ref, ePtr<iRecordableService> &SWIG_OUTPUT);
        
-       RESULT enqueueService(const eServiceReference &service);
        SWIG_VOID(RESULT) getCurrentService(ePtr<iPlayableService> &SWIG_OUTPUT);
-       SWIG_VOID(RESULT) getPlaylist(ePtr<ePlaylist> &SWIG_OUTPUT);
+       RESULT stopService();
        
        RESULT pause(int p);
 private: