playerdcopobject.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef KMEDIAPLAYERPLAYERDCOPOBJECT_H
00025 #define KMEDIAPLAYERPLAYERDCOPOBJECT_H
00026
00027 #include <dcopobject.h>
00028 #include <kurl.h>
00029
00030 namespace KMediaPlayer
00031 {
00032
00033 class PlayerDCOPObject : public DCOPObject
00034 {
00035 K_DCOP
00036
00037 public:
00038 PlayerDCOPObject(void);
00039
00040 k_dcop:
00041 virtual bool openURL(const KURL &file) = 0;
00042 virtual void pause() = 0;
00043 virtual void play() = 0;
00044 virtual void stop() = 0;
00045
00046 virtual void seek(unsigned long msec) = 0;
00047 virtual bool isSeekable() const = 0;
00048 virtual unsigned long position() const = 0;
00049
00050 virtual bool hasLength() const = 0;
00051 virtual unsigned long length() const = 0;
00052
00053 virtual void setLooping(bool) = 0;
00054 virtual bool isLooping() const = 0;
00055
00056 virtual int state() const = 0;
00057 virtual void setState(int) = 0;
00058 };
00059
00060 }
00061
00062 #endif
This file is part of the documentation for interfaces Library Version 3.2.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Mar 4 22:45:05 2004 by
doxygen 1.3.6-20040222 written by
Dimitri van Heesch, © 1997-2003