blob: 5eede3f01ea4b75ed3c8dbea087418ea0127d0d3 (
plain) (
blame)
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
|
#ifndef _MAIN_WINDOW_H_
#define _MAIN_WINDOW_H_
#include <QDialog>
#include <QMap>
#include "ui_mainwindow.h"
class SlxOutput;
namespace PulseAudioQt {
class Device;
class Port;
class Card;
class Profile;
}
class MainWindow : public QDialog, public Ui::MainWindow
{
Q_OBJECT
public:
MainWindow();
virtual ~MainWindow();
SlxOutput* getDevice(const PulseAudioQt::Card *card, const PulseAudioQt::Device *device, const PulseAudioQt::Port *port, bool output);
SlxOutput* getCardProfile(const PulseAudioQt::Card *card, const PulseAudioQt::Profile *profile);
SlxOutput* getCardPort(const PulseAudioQt::Card *card, const PulseAudioQt::Port *port);
void insertItemWidget(SlxOutput* w, bool isDevice);
void mark();
void sweep();
private:
QMap<QString, SlxOutput*> _widgets;
};
#endif
|