/* if you want to do several seeks in a row, you can enable the trickmode.
audio will be switched off, sync will be disabled etc. */
virtual RESULT setTrickmode(int trick=0)=0;
+ virtual RESULT isCurrentlySeekable()=0;
};
TEMPLATE_TYPEDEF(ePtr<iSeekableService>, iSeekableServicePtr);
public:
enum
{
+ /* these first two events are magical, and should only
+ be generated if you know what you're doing. */
evStart,
evEnd,
/* 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;