X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/4c54cecb6020cde399b564f17dacb048b937018a..acab01604673e3fb0d13e47f9ffb5c32e8d9dd07:/lib/nav/core.h diff --git a/lib/nav/core.h b/lib/nav/core.h index db438412..8b9502d3 100644 --- a/lib/nav/core.h +++ b/lib/nav/core.h @@ -8,9 +8,10 @@ class eNavigation: public iObject, public Object { - DECLARE_REF; + DECLARE_REF(eNavigation); private: ePtr m_runningService; + ePtr m_servicehandler; Signal2 m_event; ePtr 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 &event, ePtr &connection); */ RESULT getCurrentService(ePtr &service); RESULT getPlaylist(ePtr &playlist); + RESULT stopService(void); + + RESULT recordService(const eServiceReference &ref, ePtr &service); RESULT pause(int p); eNavigation(iServiceHandler *serviceHandler);