summaryrefslogtreecommitdiffstats
path: root/kmid/kmidIface.h
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commite2de64d6f1beb9e492daf5b886e19933c1fa41dd (patch)
tree9047cf9e6b5c43878d5bf82660adae77ceee097a /kmid/kmidIface.h
downloadtdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.tar.gz
tdemultimedia-e2de64d6f1beb9e492daf5b886e19933c1fa41dd.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmid/kmidIface.h')
-rw-r--r--kmid/kmidIface.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/kmid/kmidIface.h b/kmid/kmidIface.h
new file mode 100644
index 00000000..75f2ca72
--- /dev/null
+++ b/kmid/kmidIface.h
@@ -0,0 +1,46 @@
+#ifndef _KMIDIFACE_H_
+#define _KMIDIFACE_H_
+
+#include <dcopobject.h>
+
+class KMidIface : virtual public DCOPObject
+{
+ K_DCOP
+
+k_dcop:
+// File
+
+ virtual int openURL( const QString s )=0;
+
+ // Song
+ virtual void play()=0;
+ virtual void pause()=0;
+ virtual void stop()=0;
+ virtual void rewind()=0;
+ virtual void forward()=0;
+ virtual void seek(int ms)=0;
+ virtual void prevSong()=0;
+ virtual void nextSong()=0;
+
+ virtual void setSongLoop(int i)=0;
+ virtual void setVolume(int i)=0;
+ virtual void setTempo(int i)=0;
+// GUI
+
+
+ virtual void setSongEncoding( int i )=0;
+ virtual void setLyricEvents( int i )=0;
+
+// Collections
+ virtual void setCurrentSong(int i)=0;
+
+ virtual void setActiveCollection( int i )=0;
+ virtual void setCollectionPlayMode(int i)=0;
+
+// Midi device
+
+ virtual void setMidiDevice(int i)=0;
+
+};
+#endif
+