add evEnd to (p)core
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 18 Jan 2006 14:18:36 +0000 (14:18 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 18 Jan 2006 14:18:36 +0000 (14:18 +0000)
lib/nav/core.cpp
lib/nav/core.h
lib/nav/pcore.cpp
lib/nav/pcore.h

index 957983d..9bb4361 100644 (file)
@@ -12,7 +12,7 @@ void eNavigation::serviceEvent(iPlayableService* service, int event)
        switch (event)
        {       
        case iPlayableService::evEnd:
        switch (event)
        {       
        case iPlayableService::evEnd:
-//             m_event(this, ev);
+               m_event(this, evEnd);
                break;
        case iPlayableService::evStart:
                m_event(this, evNewService);
                break;
        case iPlayableService::evStart:
                m_event(this, evNewService);
index f1e0cd8..f1146b4 100644 (file)
@@ -24,6 +24,7 @@ public:
                evUpdatedEventInfo, /** the "currently running" event info was updated */
                evUpdatedInfo, /** the program info of this service was updated */
                evSeekableStatusChanged,
                evUpdatedEventInfo, /** the "currently running" event info was updated */
                evUpdatedInfo, /** the program info of this service was updated */
                evSeekableStatusChanged,
+               evEnd
        };
        
        RESULT playService(const eServiceReference &service);
        };
        
        RESULT playService(const eServiceReference &service);
index 21a2574..5be1dfd 100644 (file)
@@ -64,5 +64,7 @@ void pNavigation::navEvent(eNavigation *nav, int event)
        case eNavigation::evSeekableStatusChanged:
                m_event(evSeekableStatusChanged);
                break;
        case eNavigation::evSeekableStatusChanged:
                m_event(evSeekableStatusChanged);
                break;
+       case eNavigation::evEnd:
+               m_event(evEnd);
        }
 }
        }
 }
index ad5d461..07c979d 100644 (file)
@@ -20,6 +20,7 @@ public:
                evUpdatedEventInfo, /** the "currently running" event info was updated */
                evUpdatedInfo, /** the program info of this service was updated */
                evSeekableStatusChanged,
                evUpdatedEventInfo, /** the "currently running" event info was updated */
                evUpdatedInfo, /** the program info of this service was updated */
                evSeekableStatusChanged,
+               evEnd
        };
        
        pNavigation();
        };
        
        pNavigation();