diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-08-17 20:40:33 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2020-08-17 20:40:33 +0200 |
commit | de7ec4d2b38888ee88d0a45b05d5a4a7cc730a4d (patch) | |
tree | 7d65f5bcbe6996c24f0f5103160e0d4d23bb0983 /src/ChatPage.h | |
parent | Add /clear-timeline command (diff) | |
parent | Merge pull request #237 from trilene/voip (diff) | |
download | nheko-de7ec4d2b38888ee88d0a45b05d5a4a7cc730a4d.tar.xz |
Merge remote-tracking branch 'origin/master' into new-event-store
Conflicts: CMakeLists.txt io.github.NhekoReborn.Nheko.json src/Cache.cpp src/timeline/TimelineModel.cpp src/timeline/TimelineModel.h src/timeline/TimelineViewManager.cpp
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r-- | src/ChatPage.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h index 18bed289..ba1c56d1 100644 --- a/src/ChatPage.h +++ b/src/ChatPage.h @@ -35,11 +35,13 @@ #include <QWidget> #include "CacheStructs.h" +#include "CallManager.h" #include "CommunitiesList.h" #include "Utils.h" #include "notifications/Manager.h" #include "popups/UserMentions.h" +class ActiveCallBar; class OverlayModal; class QuickSwitcher; class RoomList; @@ -50,7 +52,6 @@ class TimelineViewManager; class TopRoomBar; class UserInfoWidget; class UserSettings; -class NotificationsManager; constexpr int CONSENSUS_TIMEOUT = 1000; constexpr int SHOW_CONTENT_TIMEOUT = 3000; @@ -218,6 +219,9 @@ private: void showNotificationsDialog(const QPoint &point); + template<typename T> + void connectCallMessage(); + QHBoxLayout *topLayout_; Splitter *splitter; @@ -237,6 +241,7 @@ private: TopRoomBar *top_bar_; TextInputWidget *text_input_; + ActiveCallBar *activeCallBar_; QTimer connectivityTimer_; std::atomic_bool isConnected_; @@ -254,6 +259,7 @@ private: QSharedPointer<UserSettings> userSettings_; NotificationsManager notificationsManager; + CallManager callManager_; }; template<class Collection> |