fire evCuesheetChanged event when cuesheet changed
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 23 Feb 2006 00:45:15 +0000 (00:45 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 23 Feb 2006 00:45:15 +0000 (00:45 +0000)
lib/service/iservice.h
lib/service/servicedvb.cpp

index 7853301..bc0fc97 100644 (file)
@@ -418,6 +418,9 @@ public:
                
                evEOF,
                evSOF, /* bounced against start of file (when seeking backwards) */
                
                evEOF,
                evSOF, /* bounced against start of file (when seeking backwards) */
+               
+                       /* only when cueSheet is implemented */
+               evCuesheetChanged,
        };
        virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
        virtual RESULT start()=0;
        };
        virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
        virtual RESULT start()=0;
index 72feebd..124916b 100644 (file)
@@ -1260,6 +1260,8 @@ void eDVBServicePlay::setCutList(PyObject *list)
                eDebug("adding %08llx, %d", pts, type);
        }
        m_cuesheet_changed = 1;
                eDebug("adding %08llx, %d", pts, type);
        }
        m_cuesheet_changed = 1;
+       
+       m_event((iPlayableService*)this, evCuesheetChanged);
 }
 
 void eDVBServicePlay::updateTimeshiftPids()
 }
 
 void eDVBServicePlay::updateTimeshiftPids()