From: Felix Domke Date: Wed, 18 Jan 2006 02:35:44 +0000 (+0000) Subject: add SeekableStatusChanged event X-Git-Tag: 2.6.0~4383 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/984331e8556f07cee27bfb4416c4391ff0c2ce62 add SeekableStatusChanged event --- diff --git a/lib/nav/core.cpp b/lib/nav/core.cpp index 9f537d35..957983d9 100644 --- a/lib/nav/core.cpp +++ b/lib/nav/core.cpp @@ -23,6 +23,9 @@ void eNavigation::serviceEvent(iPlayableService* service, int event) case iPlayableService::evUpdatedInfo: m_event(this, evUpdatedInfo); break; + case iPlayableService::evSeekableStatusChanged: + m_event(this, evSeekableStatusChanged); + break; default: break; } diff --git a/lib/nav/core.h b/lib/nav/core.h index 1751de98..f1e0cd85 100644 --- a/lib/nav/core.h +++ b/lib/nav/core.h @@ -22,7 +22,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 */ evUpdatedEventInfo, /** the "currently running" event info was updated */ - evUpdatedInfo /** the program info of this service was updated */ + evUpdatedInfo, /** the program info of this service was updated */ + evSeekableStatusChanged, }; RESULT playService(const eServiceReference &service); diff --git a/lib/nav/pcore.cpp b/lib/nav/pcore.cpp index 4fdfffc0..21a25748 100644 --- a/lib/nav/pcore.cpp +++ b/lib/nav/pcore.cpp @@ -61,5 +61,8 @@ void pNavigation::navEvent(eNavigation *nav, int event) case eNavigation::evUpdatedInfo: m_event(evUpdatedInfo); break; + case eNavigation::evSeekableStatusChanged: + m_event(evSeekableStatusChanged); + break; } } diff --git a/lib/nav/pcore.h b/lib/nav/pcore.h index 494c26cd..ad5d461b 100644 --- a/lib/nav/pcore.h +++ b/lib/nav/pcore.h @@ -19,6 +19,7 @@ public: evPlayFailed, /** the next service (in playlist) or the one given in playService failed to play */ evUpdatedEventInfo, /** the "currently running" event info was updated */ evUpdatedInfo, /** the program info of this service was updated */ + evSeekableStatusChanged, }; pNavigation();