From d1f3a3ef40a69fe50efe6e2b76400e7f5f5dfb6c Mon Sep 17 00:00:00 2001 From: trilene Date: Tue, 27 Oct 2020 13:14:06 -0400 Subject: Support video calls --- src/dialogs/AcceptCall.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/dialogs/AcceptCall.h') diff --git a/src/dialogs/AcceptCall.h b/src/dialogs/AcceptCall.h index 5db8fcfa..00616c53 100644 --- a/src/dialogs/AcceptCall.h +++ b/src/dialogs/AcceptCall.h @@ -6,6 +6,7 @@ #include #include +class QComboBox; class QPushButton; class QString; class UserSettings; @@ -22,6 +23,7 @@ public: const QString &roomName, const QString &avatarUrl, QSharedPointer settings, + bool isVideo, QWidget *parent = nullptr); signals: @@ -29,8 +31,12 @@ signals: void reject(); private: - QPushButton *acceptBtn_; - QPushButton *rejectBtn_; - std::vector audioDevices_; + QPushButton *acceptBtn_ = nullptr; + QPushButton *rejectBtn_ = nullptr; + QComboBox *microphoneCombo_ = nullptr; + QComboBox *cameraCombo_ = nullptr; + std::vector microphones_; + std::vector cameras_; }; + } -- cgit 1.5.1