mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 19:08:58 +03:00
Move voip and encryption stuff into their own directories
This commit is contained in:
parent
16e234016a
commit
550c80525a
25 changed files with 31 additions and 30 deletions
|
@ -329,19 +329,24 @@ set(SRC_FILES
|
||||||
src/ui/UIA.cpp
|
src/ui/UIA.cpp
|
||||||
src/ui/UserProfile.cpp
|
src/ui/UserProfile.cpp
|
||||||
|
|
||||||
|
src/voip/CallDevices.cpp
|
||||||
|
src/voip/CallManager.cpp
|
||||||
|
src/voip/WebRTCSession.cpp
|
||||||
|
|
||||||
|
src/encryption/DeviceVerificationFlow.cpp
|
||||||
|
src/encryption/Olm.cpp
|
||||||
|
src/encryption/SelfVerificationStatus.cpp
|
||||||
|
|
||||||
# Generic notification stuff
|
# Generic notification stuff
|
||||||
src/notifications/Manager.cpp
|
src/notifications/Manager.cpp
|
||||||
|
|
||||||
src/AvatarProvider.cpp
|
src/AvatarProvider.cpp
|
||||||
src/BlurhashProvider.cpp
|
src/BlurhashProvider.cpp
|
||||||
src/Cache.cpp
|
src/Cache.cpp
|
||||||
src/CallDevices.cpp
|
|
||||||
src/CallManager.cpp
|
|
||||||
src/ChatPage.cpp
|
src/ChatPage.cpp
|
||||||
src/Clipboard.cpp
|
src/Clipboard.cpp
|
||||||
src/ColorImageProvider.cpp
|
src/ColorImageProvider.cpp
|
||||||
src/CompletionProxyModel.cpp
|
src/CompletionProxyModel.cpp
|
||||||
src/DeviceVerificationFlow.cpp
|
|
||||||
src/EventAccessors.cpp
|
src/EventAccessors.cpp
|
||||||
src/InviteesModel.cpp
|
src/InviteesModel.cpp
|
||||||
src/JdenticonProvider.cpp
|
src/JdenticonProvider.cpp
|
||||||
|
@ -351,7 +356,6 @@ set(SRC_FILES
|
||||||
src/MatrixClient.cpp
|
src/MatrixClient.cpp
|
||||||
src/MemberList.cpp
|
src/MemberList.cpp
|
||||||
src/MxcImageProvider.cpp
|
src/MxcImageProvider.cpp
|
||||||
src/Olm.cpp
|
|
||||||
src/ReadReceiptsModel.cpp
|
src/ReadReceiptsModel.cpp
|
||||||
src/RegisterPage.cpp
|
src/RegisterPage.cpp
|
||||||
src/SSOHandler.cpp
|
src/SSOHandler.cpp
|
||||||
|
@ -364,8 +368,6 @@ set(SRC_FILES
|
||||||
src/RoomDirectoryModel.cpp
|
src/RoomDirectoryModel.cpp
|
||||||
src/RoomsModel.cpp
|
src/RoomsModel.cpp
|
||||||
src/Utils.cpp
|
src/Utils.cpp
|
||||||
src/SelfVerificationStatus.cpp
|
|
||||||
src/WebRTCSession.cpp
|
|
||||||
src/WelcomePage.cpp
|
src/WelcomePage.cpp
|
||||||
src/main.cpp
|
src/main.cpp
|
||||||
|
|
||||||
|
@ -542,19 +544,24 @@ qt5_wrap_cpp(MOC_HEADERS
|
||||||
src/ui/UIA.h
|
src/ui/UIA.h
|
||||||
src/ui/UserProfile.h
|
src/ui/UserProfile.h
|
||||||
|
|
||||||
|
src/voip/CallDevices.h
|
||||||
|
src/voip/CallManager.h
|
||||||
|
src/voip/WebRTCSession.h
|
||||||
|
|
||||||
|
src/encryption/SelfVerificationStatus.h
|
||||||
|
src/encryption/DeviceVerificationFlow.h
|
||||||
|
src/encryption/Olm.h
|
||||||
|
|
||||||
src/notifications/Manager.h
|
src/notifications/Manager.h
|
||||||
|
|
||||||
src/AvatarProvider.h
|
src/AvatarProvider.h
|
||||||
src/BlurhashProvider.h
|
src/BlurhashProvider.h
|
||||||
src/CacheCryptoStructs.h
|
src/CacheCryptoStructs.h
|
||||||
src/Cache_p.h
|
src/Cache_p.h
|
||||||
src/CallDevices.h
|
|
||||||
src/CallManager.h
|
|
||||||
src/ChatPage.h
|
src/ChatPage.h
|
||||||
src/Clipboard.h
|
src/Clipboard.h
|
||||||
src/CombinedImagePackModel.h
|
src/CombinedImagePackModel.h
|
||||||
src/CompletionProxyModel.h
|
src/CompletionProxyModel.h
|
||||||
src/DeviceVerificationFlow.h
|
|
||||||
src/ImagePackListModel.h
|
src/ImagePackListModel.h
|
||||||
src/InviteesModel.h
|
src/InviteesModel.h
|
||||||
src/JdenticonProvider.h
|
src/JdenticonProvider.h
|
||||||
|
@ -562,7 +569,6 @@ qt5_wrap_cpp(MOC_HEADERS
|
||||||
src/MainWindow.h
|
src/MainWindow.h
|
||||||
src/MemberList.h
|
src/MemberList.h
|
||||||
src/MxcImageProvider.h
|
src/MxcImageProvider.h
|
||||||
src/Olm.h
|
|
||||||
src/RegisterPage.h
|
src/RegisterPage.h
|
||||||
src/RoomsModel.h
|
src/RoomsModel.h
|
||||||
src/SSOHandler.h
|
src/SSOHandler.h
|
||||||
|
@ -572,8 +578,6 @@ qt5_wrap_cpp(MOC_HEADERS
|
||||||
src/UsersModel.h
|
src/UsersModel.h
|
||||||
src/RoomDirectoryModel.h
|
src/RoomDirectoryModel.h
|
||||||
src/RoomsModel.h
|
src/RoomsModel.h
|
||||||
src/SelfVerificationStatus.h
|
|
||||||
src/WebRTCSession.h
|
|
||||||
src/WelcomePage.h
|
src/WelcomePage.h
|
||||||
src/ReadReceiptsModel.h
|
src/ReadReceiptsModel.h
|
||||||
)
|
)
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
#include "EventAccessors.h"
|
#include "EventAccessors.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Olm.h"
|
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
#include "encryption/Olm.h"
|
||||||
|
|
||||||
//! Should be changed when a breaking change occurs in the cache format.
|
//! Should be changed when a breaking change occurs in the cache format.
|
||||||
//! This will reset client's data.
|
//! This will reset client's data.
|
||||||
|
|
|
@ -12,19 +12,19 @@
|
||||||
#include "AvatarProvider.h"
|
#include "AvatarProvider.h"
|
||||||
#include "Cache.h"
|
#include "Cache.h"
|
||||||
#include "Cache_p.h"
|
#include "Cache_p.h"
|
||||||
#include "CallManager.h"
|
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "DeviceVerificationFlow.h"
|
|
||||||
#include "EventAccessors.h"
|
#include "EventAccessors.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Olm.h"
|
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
#include "encryption/DeviceVerificationFlow.h"
|
||||||
|
#include "encryption/Olm.h"
|
||||||
#include "ui/OverlayModal.h"
|
#include "ui/OverlayModal.h"
|
||||||
#include "ui/Theme.h"
|
#include "ui/Theme.h"
|
||||||
#include "ui/UserProfile.h"
|
#include "ui/UserProfile.h"
|
||||||
|
#include "voip/CallManager.h"
|
||||||
|
|
||||||
#include "notifications/Manager.h"
|
#include "notifications/Manager.h"
|
||||||
|
|
||||||
|
|
|
@ -26,11 +26,11 @@
|
||||||
#include "TrayIcon.h"
|
#include "TrayIcon.h"
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
#include "WebRTCSession.h"
|
|
||||||
#include "WelcomePage.h"
|
#include "WelcomePage.h"
|
||||||
#include "ui/LoadingIndicator.h"
|
#include "ui/LoadingIndicator.h"
|
||||||
#include "ui/OverlayModal.h"
|
#include "ui/OverlayModal.h"
|
||||||
#include "ui/SnackBar.h"
|
#include "ui/SnackBar.h"
|
||||||
|
#include "voip/WebRTCSession.h"
|
||||||
|
|
||||||
#include "dialogs/CreateRoom.h"
|
#include "dialogs/CreateRoom.h"
|
||||||
|
|
||||||
|
|
|
@ -14,7 +14,6 @@
|
||||||
#include <QLineEdit>
|
#include <QLineEdit>
|
||||||
#include <QMessageBox>
|
#include <QMessageBox>
|
||||||
#include <QPainter>
|
#include <QPainter>
|
||||||
#include <QProcessEnvironment>
|
|
||||||
#include <QPushButton>
|
#include <QPushButton>
|
||||||
#include <QResizeEvent>
|
#include <QResizeEvent>
|
||||||
#include <QScrollArea>
|
#include <QScrollArea>
|
||||||
|
@ -26,14 +25,14 @@
|
||||||
#include <QtQml>
|
#include <QtQml>
|
||||||
|
|
||||||
#include "Cache.h"
|
#include "Cache.h"
|
||||||
#include "CallDevices.h"
|
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Olm.h"
|
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
#include "encryption/Olm.h"
|
||||||
#include "ui/FlatButton.h"
|
#include "ui/FlatButton.h"
|
||||||
#include "ui/ToggleButton.h"
|
#include "ui/ToggleButton.h"
|
||||||
|
#include "voip/CallDevices.h"
|
||||||
|
|
||||||
#include "config/nheko.h"
|
#include "config/nheko.h"
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
#include "EventAccessors.h"
|
#include "EventAccessors.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Olm.h"
|
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(Reaction)
|
Q_DECLARE_METATYPE(Reaction)
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
#include <mtx/responses/messages.hpp>
|
#include <mtx/responses/messages.hpp>
|
||||||
#include <mtx/responses/sync.hpp>
|
#include <mtx/responses/sync.hpp>
|
||||||
|
|
||||||
#include "Olm.h"
|
|
||||||
#include "Reaction.h"
|
#include "Reaction.h"
|
||||||
|
#include "encryption/Olm.h"
|
||||||
|
|
||||||
class EventStore : public QObject
|
class EventStore : public QObject
|
||||||
{
|
{
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Olm.h"
|
|
||||||
#include "RoomsModel.h"
|
#include "RoomsModel.h"
|
||||||
#include "TimelineModel.h"
|
#include "TimelineModel.h"
|
||||||
#include "TimelineViewManager.h"
|
#include "TimelineViewManager.h"
|
||||||
|
|
|
@ -27,10 +27,10 @@
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "MemberList.h"
|
#include "MemberList.h"
|
||||||
#include "MxcImageProvider.h"
|
#include "MxcImageProvider.h"
|
||||||
#include "Olm.h"
|
|
||||||
#include "ReadReceiptsModel.h"
|
#include "ReadReceiptsModel.h"
|
||||||
#include "TimelineViewManager.h"
|
#include "TimelineViewManager.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
#include "encryption/Olm.h"
|
||||||
|
|
||||||
Q_DECLARE_METATYPE(QModelIndex)
|
Q_DECLARE_METATYPE(QModelIndex)
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,6 @@
|
||||||
#include "CombinedImagePackModel.h"
|
#include "CombinedImagePackModel.h"
|
||||||
#include "CompletionProxyModel.h"
|
#include "CompletionProxyModel.h"
|
||||||
#include "DelegateChooser.h"
|
#include "DelegateChooser.h"
|
||||||
#include "DeviceVerificationFlow.h"
|
|
||||||
#include "EventAccessors.h"
|
#include "EventAccessors.h"
|
||||||
#include "ImagePackListModel.h"
|
#include "ImagePackListModel.h"
|
||||||
#include "InviteesModel.h"
|
#include "InviteesModel.h"
|
||||||
|
@ -29,13 +28,14 @@
|
||||||
#include "ReadReceiptsModel.h"
|
#include "ReadReceiptsModel.h"
|
||||||
#include "RoomDirectoryModel.h"
|
#include "RoomDirectoryModel.h"
|
||||||
#include "RoomsModel.h"
|
#include "RoomsModel.h"
|
||||||
#include "SelfVerificationStatus.h"
|
|
||||||
#include "SingleImagePackModel.h"
|
#include "SingleImagePackModel.h"
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "UsersModel.h"
|
#include "UsersModel.h"
|
||||||
#include "dialogs/ImageOverlay.h"
|
#include "dialogs/ImageOverlay.h"
|
||||||
#include "emoji/EmojiModel.h"
|
#include "emoji/EmojiModel.h"
|
||||||
#include "emoji/Provider.h"
|
#include "emoji/Provider.h"
|
||||||
|
#include "encryption/DeviceVerificationFlow.h"
|
||||||
|
#include "encryption/SelfVerificationStatus.h"
|
||||||
#include "ui/MxcAnimatedImage.h"
|
#include "ui/MxcAnimatedImage.h"
|
||||||
#include "ui/MxcMediaProxy.h"
|
#include "ui/MxcMediaProxy.h"
|
||||||
#include "ui/NhekoCursorShape.h"
|
#include "ui/NhekoCursorShape.h"
|
||||||
|
|
|
@ -17,16 +17,16 @@
|
||||||
#include <mtx/responses/sync.hpp>
|
#include <mtx/responses/sync.hpp>
|
||||||
|
|
||||||
#include "Cache.h"
|
#include "Cache.h"
|
||||||
#include "CallManager.h"
|
|
||||||
#include "JdenticonProvider.h"
|
#include "JdenticonProvider.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "TimelineModel.h"
|
#include "TimelineModel.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
#include "WebRTCSession.h"
|
|
||||||
#include "emoji/EmojiModel.h"
|
#include "emoji/EmojiModel.h"
|
||||||
#include "emoji/Provider.h"
|
#include "emoji/Provider.h"
|
||||||
#include "timeline/CommunitiesModel.h"
|
#include "timeline/CommunitiesModel.h"
|
||||||
#include "timeline/RoomlistModel.h"
|
#include "timeline/RoomlistModel.h"
|
||||||
|
#include "voip/CallManager.h"
|
||||||
|
#include "voip/WebRTCSession.h"
|
||||||
|
|
||||||
class MxcImageProvider;
|
class MxcImageProvider;
|
||||||
class BlurhashProvider;
|
class BlurhashProvider;
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
#include "WebRTCSession.h"
|
#include "voip/WebRTCSession.h"
|
||||||
|
|
||||||
Nheko::Nheko()
|
Nheko::Nheko()
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,10 +9,10 @@
|
||||||
|
|
||||||
#include "Cache_p.h"
|
#include "Cache_p.h"
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "DeviceVerificationFlow.h"
|
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "UserProfile.h"
|
#include "UserProfile.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
|
#include "encryption/DeviceVerificationFlow.h"
|
||||||
#include "mtx/responses/crypto.hpp"
|
#include "mtx/responses/crypto.hpp"
|
||||||
#include "timeline/TimelineModel.h"
|
#include "timeline/TimelineModel.h"
|
||||||
#include "timeline/TimelineViewManager.h"
|
#include "timeline/TimelineViewManager.h"
|
||||||
|
|
Loading…
Reference in a new issue