24 #ifndef KMEDIAPLAYERPLAYER_H
25 #define KMEDIAPLAYERPLAYER_H
27 #include <tdeparts/part.h>
28 #include <tdemediaplayer/playerdcopobject.h>
29 #include <tdemediaplayer/view.h>
54 Player(TQObject *parent,
const char *name);
59 Player(TQWidget *parentWidget,
const char *widgetName, TQObject *parent,
const char *name);
66 virtual View *view(
void) = 0;
70 virtual void pause(
void) = 0;
73 virtual void play(
void) = 0;
76 virtual void stop(
void) = 0;
82 virtual void seek(
unsigned long msec) = 0;
85 virtual bool isSeekable(
void)
const = 0;
88 virtual unsigned long position(
void)
const = 0;
92 virtual bool hasLength(
void)
const = 0;
95 virtual unsigned long length(
void)
const = 0;
101 void setLooping(
bool);
104 bool isLooping(
void)
const;
107 void loopingChanged(
bool);
123 int state(
void)
const;
126 void stateChanged(
int);