aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/nav/core.cpp3
-rw-r--r--lib/nav/core.h3
-rw-r--r--lib/nav/pcore.cpp3
-rw-r--r--lib/nav/pcore.h1
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();