diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-01-18 02:35:44 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-01-18 02:35:44 +0000 |
| commit | 984331e8556f07cee27bfb4416c4391ff0c2ce62 (patch) | |
| tree | b0493f9fa938f02b54e43a4b13ae6e662773165f /lib | |
| parent | cedb8844dbefb4723e47ba0610582100b5362409 (diff) | |
| download | enigma2-984331e8556f07cee27bfb4416c4391ff0c2ce62.tar.gz enigma2-984331e8556f07cee27bfb4416c4391ff0c2ce62.zip | |
add SeekableStatusChanged event
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/nav/core.cpp | 3 | ||||
| -rw-r--r-- | lib/nav/core.h | 3 | ||||
| -rw-r--r-- | lib/nav/pcore.cpp | 3 | ||||
| -rw-r--r-- | lib/nav/pcore.h | 1 |
4 files changed, 9 insertions, 1 deletions
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(); |
