add SeekableStatusChanged event
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 18 Jan 2006 02:35:44 +0000 (02:35 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 18 Jan 2006 02:35:44 +0000 (02:35 +0000)
lib/nav/core.cpp
lib/nav/core.h
lib/nav/pcore.cpp
lib/nav/pcore.h

index 9f537d3..957983d 100644 (file)
@@ -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;
        }
index 1751de9..f1e0cd8 100644 (file)
@@ -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);
index 4fdfffc..21a2574 100644 (file)
@@ -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;
        }
 }
index 494c26c..ad5d461 100644 (file)
@@ -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();