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 9f537d35c6bf54a5616dcc81210fa23e8d16496e..957983d9acfd1f9f4002d19d08af4c230f1322d0 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 1751de981f5ee92bc0b2ad2d76ed7e659420dc3d..f1e0cd85b2a21baf5d04375e9b4518d96d1b0189 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 4fdfffc0282a0744c9cc644117dd23830af00848..21a25748bac93d8ff8b4b1375ad028bec7e82080 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 494c26cdd480e77f5e9650b6fd0d7f85124eb50f..ad5d461be718f405062ff5b63f6377358a6f5454 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();