summaryrefslogtreecommitdiff
path: root/src/remoteauth/remoteauthclient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteauth/remoteauthclient.cpp')
-rw-r--r--src/remoteauth/remoteauthclient.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/remoteauth/remoteauthclient.cpp b/src/remoteauth/remoteauthclient.cpp
index 467ea8b..7653b78 100644
--- a/src/remoteauth/remoteauthclient.cpp
+++ b/src/remoteauth/remoteauthclient.cpp
@@ -1,8 +1,14 @@
+#ifdef WITH_QRLOGIN
+
+// clang-format off
+
#include "remoteauthclient.hpp"
#include "http.hpp"
#include <nlohmann/json.hpp>
#include <spdlog/fmt/bin_to_hex.h>
+// clang-format on
+
RemoteAuthClient::RemoteAuthClient()
: m_ws("remote-auth-ws")
, m_log(spdlog::get("remote-auth")) {
@@ -341,3 +347,5 @@ RemoteAuthClient::type_signal_token RemoteAuthClient::signal_token() {
RemoteAuthClient::type_signal_error RemoteAuthClient::signal_error() {
return m_signal_error;
}
+
+#endif