summary refs log tree commit diff
path: root/src/MatrixClient.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 16:08:30 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2020-01-31 16:08:30 +0100
commit127fb9370b8e131ad460b27aaa72de178e929096 (patch)
tree5278c11f1b58dc9f2600f716d58301f116d05d29 /src/MatrixClient.h
parentOptimize includes a bit (diff)
downloadnheko-127fb9370b8e131ad460b27aaa72de178e929096.tar.xz
Remove metatypes from headers
Diffstat (limited to 'src/MatrixClient.h')
-rw-r--r--src/MatrixClient.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/MatrixClient.h b/src/MatrixClient.h
index c77b1183..4db51095 100644
--- a/src/MatrixClient.h
+++ b/src/MatrixClient.h
@@ -1,25 +1,7 @@
 #pragma once
 
-#include <QMetaType>
-#include <QObject>
-#include <QString>
-
-#include "nlohmann/json.hpp"
-#include <mtx/responses.hpp>
 #include <mtxclient/http/client.hpp>
 
-Q_DECLARE_METATYPE(mtx::responses::Login)
-Q_DECLARE_METATYPE(mtx::responses::Messages)
-Q_DECLARE_METATYPE(mtx::responses::Notifications)
-Q_DECLARE_METATYPE(mtx::responses::Rooms)
-Q_DECLARE_METATYPE(mtx::responses::Sync)
-Q_DECLARE_METATYPE(mtx::responses::JoinedGroups)
-Q_DECLARE_METATYPE(mtx::responses::GroupProfile)
-Q_DECLARE_METATYPE(std::string)
-Q_DECLARE_METATYPE(nlohmann::json)
-Q_DECLARE_METATYPE(std::vector<std::string>)
-Q_DECLARE_METATYPE(std::vector<QString>)
-
 namespace http {
 mtx::http::Client *
 client();