summaryrefslogtreecommitdiff
path: root/src/remoteauth/remoteauthclient.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-07-09 22:31:21 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-07-09 22:31:21 -0400
commit229555939d697700e988f09f04871bde55adc5a7 (patch)
tree03e040a0c4c9e49d75d102982e9bae7334077e5f /src/remoteauth/remoteauthclient.cpp
parentb5d85f4958601ef512dfc9fe302b4b9bfcda25f1 (diff)
downloadabaddon-portaudio-229555939d697700e988f09f04871bde55adc5a7.tar.gz
abaddon-portaudio-229555939d697700e988f09f04871bde55adc5a7.zip
make qrcodegen optional wow!!!
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