summary refs log tree commit diff
path: root/src/dialogs/AcceptCall.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/AcceptCall.h')
-rw-r--r--src/dialogs/AcceptCall.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/dialogs/AcceptCall.h b/src/dialogs/AcceptCall.h

index 5db8fcfa..76ca7ae1 100644 --- a/src/dialogs/AcceptCall.h +++ b/src/dialogs/AcceptCall.h
@@ -3,12 +3,11 @@ #include <string> #include <vector> -#include <QSharedPointer> #include <QWidget> +class QComboBox; class QPushButton; class QString; -class UserSettings; namespace dialogs { @@ -21,7 +20,7 @@ public: const QString &displayName, const QString &roomName, const QString &avatarUrl, - QSharedPointer<UserSettings> settings, + bool isVideo, QWidget *parent = nullptr); signals: @@ -29,8 +28,12 @@ signals: void reject(); private: - QPushButton *acceptBtn_; - QPushButton *rejectBtn_; - std::vector<std::string> audioDevices_; + QPushButton *acceptBtn_ = nullptr; + QPushButton *rejectBtn_ = nullptr; + QComboBox *microphoneCombo_ = nullptr; + QComboBox *cameraCombo_ = nullptr; + std::vector<std::string> microphones_; + std::vector<std::string> cameras_; }; + }