summaryrefslogtreecommitdiffstats
path: root/kmix/mixertoolbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmix/mixertoolbox.h')
-rw-r--r--kmix/mixertoolbox.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/kmix/mixertoolbox.h b/kmix/mixertoolbox.h
new file mode 100644
index 00000000..1af4f22c
--- /dev/null
+++ b/kmix/mixertoolbox.h
@@ -0,0 +1,22 @@
+#ifndef MIXERTOOLBOX_H
+#define MIXERTOOLBOX_H
+
+#include <qptrlist.h>
+#include <qstring.h>
+
+class Mixer;
+
+/**
+ * This toolbox contains various static methods that are shared throughout KMix.
+ * It only contains no-GUI code. The shared with-GUI code is in KMixToolBox
+ * The reason, why it is not put in a common base class is, that the classes are
+ * very different and cannot be changed (e.g. KPanelApplet) without major headache.
+ */
+class MixerToolBox {
+ public:
+ static void initMixer(QPtrList<Mixer>&, bool, QString&);
+ static void deinitMixer();
+};
+
+
+#endif