summaryrefslogtreecommitdiffstats
path: root/kmix/mixertoolbox.h
blob: 59d86726031d5da5f805d34adc642c56ddfd845f (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
25
#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 bool updateMixer(TQPtrList<Mixer> &mixers, bool multiDriverMode, TQString& ref_hwInfoString);
};
    

#endif