diff options
author | trilene <trilene@runbox.com> | 2021-02-25 12:00:55 -0500 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2021-02-25 12:00:55 -0500 |
commit | 402bd565cb2b8836420f73461acacd886c9d147c (patch) | |
tree | 7841b925c3287473fa6b15dfcf204a76d5eac695 /src/CallManager.h | |
parent | Allow choice of single window when sharing screen (diff) | |
download | nheko-402bd565cb2b8836420f73461acacd886c9d147c.tar.xz |
Add screen sharing window preview
Diffstat (limited to '')
-rw-r--r-- | src/CallManager.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CallManager.h b/src/CallManager.h index 6decdf19..be3c824d 100644 --- a/src/CallManager.h +++ b/src/CallManager.h @@ -63,6 +63,7 @@ public slots: void hangUp( mtx::events::msg::CallHangUp::Reason = mtx::events::msg::CallHangUp::Reason::User); QStringList windowList(); + void previewWindow(unsigned int windowIndex) const; signals: void newMessage(const QString &roomid, const mtx::events::msg::CallInvite &); @@ -95,7 +96,7 @@ private: std::vector<std::pair<QString, uint32_t>> windows_; template<typename T> - bool handleEvent_(const mtx::events::collections::TimelineEvents &event); + bool handleEvent(const mtx::events::collections::TimelineEvents &event); void handleEvent(const mtx::events::RoomEvent<mtx::events::msg::CallInvite> &); void handleEvent(const mtx::events::RoomEvent<mtx::events::msg::CallCandidates> &); void handleEvent(const mtx::events::RoomEvent<mtx::events::msg::CallAnswer> &); |