summaryrefslogtreecommitdiffstats
path: root/kolf/kvolumecontrol.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
commitc90c389a8a8d9d8661e9772ec4144c5cf2039f23 (patch)
tree6d8391395bce9eaea4ad78958617edb20c6a7573 /kolf/kvolumecontrol.h
downloadtdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.tar.gz
tdegames-c90c389a8a8d9d8661e9772ec4144c5cf2039f23.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/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kolf/kvolumecontrol.h')
-rw-r--r--kolf/kvolumecontrol.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/kolf/kvolumecontrol.h b/kolf/kvolumecontrol.h
new file mode 100644
index 00000000..3f0306a8
--- /dev/null
+++ b/kolf/kvolumecontrol.h
@@ -0,0 +1,28 @@
+#ifndef KVOLUMECONTROL_H
+#define KVOLUMECONTROL_H
+
+#include <arts/kplayobject.h>
+#include <arts/artsflow.h>
+#include <kdebug.h>
+#include <qobject.h>
+
+class KVolumeControl : public QObject
+{
+Q_OBJECT
+
+public:
+ KVolumeControl(Arts::SoundServerV2 server, KPlayObject *parent);
+ KVolumeControl(double vol, Arts::SoundServerV2 server, KPlayObject *parent);
+ ~KVolumeControl();
+
+ void setVolume(double);
+ double volume(void);
+
+ void init(Arts::SoundServerV2 server);
+
+private:
+ Arts::StereoVolumeControl volumeControl;
+ Arts::Synth_AMAN_PLAY manager;
+};
+
+#endif