clarify evStart, evEnd, add evSOF (start of file)
authorFelix Domke <tmbinc@elitedvb.net>
Thu, 26 Jan 2006 13:25:39 +0000 (13:25 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Thu, 26 Jan 2006 13:25:39 +0000 (13:25 +0000)
lib/service/iservice.h

index 1f55fe4952ec9c81d5959800f9d3ae099ee0a979..bc8d0244a3ceccd2ec5636d446cd32824132c509 100644 (file)
@@ -386,6 +386,8 @@ class iPlayableService: public iObject
 public:
        enum
        {
+                       /* these first two events are magical, and should only
+                          be generated if you know what you're doing. */
                evStart,
                evEnd,
                
@@ -397,7 +399,8 @@ public:
                        /* when seek() is implemented: */               
                evSeekableStatusChanged, /* for example when timeshifting */
                
-               evEOF
+               evEOF,
+               evSOF, /* bounced against start of file (when seeking backwards) */
        };
        virtual RESULT connectEvent(const Slot2<void,iPlayableService*,int> &event, ePtr<eConnection> &connection)=0;
        virtual RESULT start()=0;