fix: e2 didn't start when no sat-frontend was detected
[enigma2.git] / lib / nav / core.h
index db4384124cca6884a32b8a2ebab9d0fc47224ef1..8b9502d325c1759c7342672656e44452f9a30bdb 100644 (file)
@@ -8,9 +8,10 @@
 
 class eNavigation: public iObject, public Object
 {
-       DECLARE_REF;
+       DECLARE_REF(eNavigation);
 private:
        ePtr<iPlayableService> m_runningService;
+       
        ePtr<iServiceHandler> m_servicehandler;
        Signal2<void,eNavigation*,int> m_event;
        ePtr<eConnection> m_service_event_conn;
@@ -23,7 +24,8 @@ public:
                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 */
+               evPlaylistDone, /** the last service in the playlist was just played */
+               evUpdatedEventInfo /** the "currently running" event info was updated */
        };
        
        RESULT playService(const eServiceReference &service);
@@ -32,6 +34,9 @@ public:
 /*     int connectServiceEvent(const Slot1<void,iPlayableService*,int> &event, ePtr<eConnection> &connection); */
        RESULT getCurrentService(ePtr<iPlayableService> &service);
        RESULT getPlaylist(ePtr<ePlaylist> &playlist);
+       RESULT stopService(void);
+       
+       RESULT recordService(const eServiceReference &ref, ePtr<iRecordableService> &service);
        
        RESULT pause(int p);
        eNavigation(iServiceHandler *serviceHandler);