From b8079cad418d68b1ef51fdb0bca16b4ef7d0c7c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20St=C3=BCrz?= Date: Mon, 16 Aug 2021 12:15:57 +0200 Subject: [PATCH] Add state method for remote connection class --- .../tunnelproxy/tunnelproxyremoteconnection.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libnymea-remoteproxyclient/tunnelproxy/tunnelproxyremoteconnection.cpp b/libnymea-remoteproxyclient/tunnelproxy/tunnelproxyremoteconnection.cpp index a18f1e8..fb0ebd4 100644 --- a/libnymea-remoteproxyclient/tunnelproxy/tunnelproxyremoteconnection.cpp +++ b/libnymea-remoteproxyclient/tunnelproxy/tunnelproxyremoteconnection.cpp @@ -62,6 +62,11 @@ bool TunnelProxyRemoteConnection::remoteConnected() const return m_remoteConnected; } +TunnelProxyRemoteConnection::State TunnelProxyRemoteConnection::state() const +{ + return m_state; +} + QAbstractSocket::SocketError TunnelProxyRemoteConnection::error() const { return m_error;