diff options
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 7f792c5..6fbe9f2 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -7,6 +7,13 @@ #include "ui_mainwindow.h" class SlxOutput; +namespace PulseAudioQt { +class Sink; +class Port; +class Source; +class Card; +class Profile; +} class MainWindow : public QDialog, public Ui::MainWindow { @@ -16,7 +23,10 @@ public: MainWindow(); virtual ~MainWindow(); - SlxOutput* getOutput(const QString &id, bool isSink, const QString &newTitle); + SlxOutput* getDevice(const PulseAudioQt::Card *card, const PulseAudioQt::Sink *sink, const PulseAudioQt::Port *port); + SlxOutput* getCardProfile(const PulseAudioQt::Card *card, const PulseAudioQt::Profile *profile); + + void insertItemWidget(SlxOutput* w, bool isDevice); void mark(); void sweep(); |