format, ac3 and crypted indicators now working
[enigma2.git] / lib / nav / core.h
index c049e43d2fc17a41293fe251cb73e5911e0d324a..b71a0fd1a66c44c33598645dba49d4c81f32f869 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;
@@ -24,7 +25,8 @@ 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 */
        };
        
        RESULT playService(const eServiceReference &service);
@@ -35,6 +37,8 @@ public:
        RESULT getPlaylist(ePtr<ePlaylist> &playlist);
        RESULT stopService(void);
        
+       RESULT recordService(const eServiceReference &ref, ePtr<iRecordableService> &service);
+       
        RESULT pause(int p);
        eNavigation(iServiceHandler *serviceHandler);
        virtual ~eNavigation();