summary refs log tree commit diff
path: root/src/dialogs/AcceptCall.h
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2020-10-30 03:21:14 +0100
committerGitHub <noreply@github.com>2020-10-30 03:21:14 +0100
commitb64e6e9cd59c97f3e4f88c08d6c13f2574921d80 (patch)
tree5e2ee4ecaf8523bc006e47bad7f277b0e21eee0f /src/dialogs/AcceptCall.h
parentFix clipboard image pasting crash on macos (diff)
parentUnused variable (diff)
downloadnheko-b64e6e9cd59c97f3e4f88c08d6c13f2574921d80.tar.xz
Merge pull request #311 from trilene/webrtc-video
Support video calls
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_; }; + }