X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/b2ec733c0227ae072b8d3b19bfb9fd98e2b6961e..64fcd10afb958be39748d0d9887d4ed5cf9779fc:/lib/nav/pcore.h diff --git a/lib/nav/pcore.h b/lib/nav/pcore.h index 018209bc..e9a06403 100644 --- a/lib/nav/pcore.h +++ b/lib/nav/pcore.h @@ -12,24 +12,13 @@ DECLARE_REF(pNavigation); public: PSignal1 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 &service); - RESULT endRecording(); + SWIG_VOID(RESULT) recordService(const eServiceReference &ref, ePtr &SWIG_OUTPUT); - RESULT enqueueService(const eServiceReference &service); - RESULT getCurrentService(ePtr &service); - RESULT getPlaylist(ePtr &playlist); + SWIG_VOID(RESULT) getCurrentService(ePtr &SWIG_OUTPUT); + RESULT stopService(); RESULT pause(int p); private: