blob: a6cfe6cb4c4d9f3b3c621405c45d8d4090ec7b11 (
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#pragma once
#include <tqobject.h>
#include <tqstring.h>
class TmixApp;
class BackendController : public TQObject
{
TQ_OBJECT
public:
explicit BackendController( TQObject *parent = 0 );
~BackendController();
void start();
public slots:
void onSettingsChanged();
private slots:
void doSwitch();
private:
void stop();
void startPulse( bool showWindow = false );
void startAlsa( bool showWindow = false );
TQString m_currentBackend;
#ifdef WITH_PULSE
class PulseModel *m_pulseModel;
class MixerWindow *m_pulseWin;
#endif
#ifdef WITH_ALSA
class AlsaModel *m_alsaModel;
class AlsaMixerWindow *m_alsaWin;
class AlsaTray *m_alsaTray;
#endif
};
|