mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-22 03:00:46 +03:00
Simplify includes a bit
This commit is contained in:
parent
f8e6c9c53c
commit
beb59d5d2e
7 changed files with 20 additions and 12 deletions
|
@ -54,6 +54,7 @@
|
||||||
#include "ui/NhekoEventObserver.h"
|
#include "ui/NhekoEventObserver.h"
|
||||||
#include "ui/NhekoGlobalObject.h"
|
#include "ui/NhekoGlobalObject.h"
|
||||||
#include "ui/UIA.h"
|
#include "ui/UIA.h"
|
||||||
|
#include "voip/CallManager.h"
|
||||||
#include "voip/WebRTCSession.h"
|
#include "voip/WebRTCSession.h"
|
||||||
|
|
||||||
#ifdef NHEKO_DBUS_SYS
|
#ifdef NHEKO_DBUS_SYS
|
||||||
|
|
|
@ -7,12 +7,14 @@
|
||||||
|
|
||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
|
|
||||||
|
#include "Cache.h"
|
||||||
#include "Cache_p.h"
|
#include "Cache_p.h"
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "MainWindow.h"
|
#include "MainWindow.h"
|
||||||
#include "MatrixClient.h"
|
#include "MatrixClient.h"
|
||||||
#include "Olm.h"
|
#include "Olm.h"
|
||||||
|
#include "encryption/VerificationManager.h"
|
||||||
#include "timeline/TimelineViewManager.h"
|
#include "timeline/TimelineViewManager.h"
|
||||||
#include "ui/UIA.h"
|
#include "ui/UIA.h"
|
||||||
|
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
#include "RoomlistModel.h"
|
#include "RoomlistModel.h"
|
||||||
|
|
||||||
|
#include "Cache.h"
|
||||||
#include "Cache_p.h"
|
#include "Cache_p.h"
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
|
@ -14,6 +15,8 @@
|
||||||
#include "TimelineModel.h"
|
#include "TimelineModel.h"
|
||||||
#include "TimelineViewManager.h"
|
#include "TimelineViewManager.h"
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
|
#include "Utils.h"
|
||||||
|
#include "voip/CallManager.h"
|
||||||
|
|
||||||
#ifdef NHEKO_DBUS_SYS
|
#ifdef NHEKO_DBUS_SYS
|
||||||
#include <QDBusConnection>
|
#include <QDBusConnection>
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
#include <QVariant>
|
#include <QVariant>
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
#include "Cache.h"
|
||||||
#include "Cache_p.h"
|
#include "Cache_p.h"
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "Config.h"
|
#include "Config.h"
|
||||||
|
|
|
@ -22,8 +22,11 @@
|
||||||
#include "RoomsModel.h"
|
#include "RoomsModel.h"
|
||||||
#include "UserSettingsPage.h"
|
#include "UserSettingsPage.h"
|
||||||
#include "UsersModel.h"
|
#include "UsersModel.h"
|
||||||
|
#include "Utils.h"
|
||||||
#include "emoji/EmojiModel.h"
|
#include "emoji/EmojiModel.h"
|
||||||
#include "emoji/Provider.h"
|
#include "encryption/VerificationManager.h"
|
||||||
|
#include "voip/CallManager.h"
|
||||||
|
#include "voip/WebRTCSession.h"
|
||||||
|
|
||||||
namespace msgs = mtx::events::msg;
|
namespace msgs = mtx::events::msg;
|
||||||
|
|
||||||
|
|
|
@ -12,21 +12,10 @@
|
||||||
|
|
||||||
#include <mtx/common.hpp>
|
#include <mtx/common.hpp>
|
||||||
#include <mtx/responses/messages.hpp>
|
#include <mtx/responses/messages.hpp>
|
||||||
#include <mtx/responses/sync.hpp>
|
|
||||||
|
|
||||||
#include "Cache.h"
|
|
||||||
#include "JdenticonProvider.h"
|
|
||||||
#include "Logging.h"
|
|
||||||
#include "TimelineModel.h"
|
|
||||||
#include "Utils.h"
|
|
||||||
#include "emoji/EmojiModel.h"
|
|
||||||
#include "emoji/Provider.h"
|
|
||||||
#include "encryption/VerificationManager.h"
|
|
||||||
#include "timeline/CommunitiesModel.h"
|
#include "timeline/CommunitiesModel.h"
|
||||||
#include "timeline/PresenceEmitter.h"
|
#include "timeline/PresenceEmitter.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;
|
||||||
|
@ -34,6 +23,13 @@ class ColorImageProvider;
|
||||||
class UserSettings;
|
class UserSettings;
|
||||||
class ChatPage;
|
class ChatPage;
|
||||||
class ImagePackListModel;
|
class ImagePackListModel;
|
||||||
|
class TimelineModel;
|
||||||
|
class CallManager;
|
||||||
|
class VerificationManager;
|
||||||
|
|
||||||
|
namespace mtx::responses {
|
||||||
|
struct Sync;
|
||||||
|
}
|
||||||
|
|
||||||
class TimelineViewManager : public QObject
|
class TimelineViewManager : public QObject
|
||||||
{
|
{
|
||||||
|
|
|
@ -8,12 +8,14 @@
|
||||||
#include <QMimeDatabase>
|
#include <QMimeDatabase>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
|
||||||
|
#include "Cache.h"
|
||||||
#include "Cache_p.h"
|
#include "Cache_p.h"
|
||||||
#include "ChatPage.h"
|
#include "ChatPage.h"
|
||||||
#include "Logging.h"
|
#include "Logging.h"
|
||||||
#include "UserProfile.h"
|
#include "UserProfile.h"
|
||||||
#include "Utils.h"
|
#include "Utils.h"
|
||||||
#include "encryption/DeviceVerificationFlow.h"
|
#include "encryption/DeviceVerificationFlow.h"
|
||||||
|
#include "encryption/VerificationManager.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