summaryrefslogtreecommitdiffstats
path: root/kmix/mixertoolbox.h
blob: a964e9a9ecf329548037cc8fda6611f90e1348ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef MIXERTOOLBOX_H
#define MIXERTOOLBOX_H

#include <tqptrlist.h>
#include <tqstring.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(TQPtrList<Mixer> &mixers, bool multiDriverMode, TQString& ref_hwInfoString);
    static void deinitMixer();
    static void deinitMixer(TQPtrList<Mixer>&);
    static void updateMixer(TQPtrList<Mixer> &mixers, bool multiDriverMode, TQString& ref_hwInfoString);
};
    

#endif