summaryrefslogtreecommitdiff
path: root/src/remoteauth/remoteauthclient.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2023-07-01 02:10:42 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2023-07-01 02:10:42 -0400
commitab448a3a9820663a882bde242525546cc4273516 (patch)
treeb55ee697969427d404ccae2ce83c8f684c3602ed /src/remoteauth/remoteauthclient.hpp
parent044e508df7868856648e14ad7c957be8b9bb46b5 (diff)
downloadabaddon-portaudio-ab448a3a9820663a882bde242525546cc4273516.tar.gz
abaddon-portaudio-ab448a3a9820663a882bde242525546cc4273516.zip
show status, error when captcha required
Diffstat (limited to 'src/remoteauth/remoteauthclient.hpp')
-rw-r--r--src/remoteauth/remoteauthclient.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/remoteauth/remoteauthclient.hpp b/src/remoteauth/remoteauthclient.hpp
index 8fb8bc3..7d7dee9 100644
--- a/src/remoteauth/remoteauthclient.hpp
+++ b/src/remoteauth/remoteauthclient.hpp
@@ -59,12 +59,24 @@ private:
EVP_PKEY_ptr m_pkey;
public:
+ using type_signal_hello = sigc::signal<void()>;
using type_signal_fingerprint = sigc::signal<void(std::string)>;
+ using type_signal_pending_ticket = sigc::signal<void(Snowflake, std::string, std::string, std::string)>;
+ using type_signal_pending_login = sigc::signal<void()>;
using type_signal_token = sigc::signal<void(std::string)>;
+ using type_signal_error = sigc::signal<void(std::string)>;
+ type_signal_hello signal_hello();
type_signal_fingerprint signal_fingerprint();
+ type_signal_pending_ticket signal_pending_ticket();
+ type_signal_pending_login signal_pending_login();
type_signal_token signal_token();
+ type_signal_error signal_error();
private:
+ type_signal_hello m_signal_hello;
type_signal_fingerprint m_signal_fingerprint;
+ type_signal_pending_ticket m_signal_pending_ticket;
+ type_signal_pending_login m_signal_pending_login;
type_signal_token m_signal_token;
+ type_signal_error m_signal_error;
};