24 #ifndef KMEDIAPLAYERPLAYERDCOPOBJECT_H
25 #define KMEDIAPLAYERPLAYERDCOPOBJECT_H
27 #include <dcopobject.h>
33 class TDE_EXPORT PlayerDCOPObject :
public DCOPObject
38 PlayerDCOPObject(
void);
41 virtual bool openURL(
const KURL &file) = 0;
42 virtual void pause() = 0;
43 virtual void play() = 0;
44 virtual void stop() = 0;
46 virtual void seek(
unsigned long msec) = 0;
47 virtual bool isSeekable()
const = 0;
48 virtual unsigned long position()
const = 0;
50 virtual bool hasLength()
const = 0;
51 virtual unsigned long length()
const = 0;
53 virtual void setLooping(
bool) = 0;
54 virtual bool isLooping()
const = 0;
56 virtual int state()
const = 0;
57 virtual void setState(
int) = 0;