summaryrefslogtreecommitdiff
path: root/src/remoteauth/remoteauthdialog.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/remoteauthdialog.hpp
parent044e508df7868856648e14ad7c957be8b9bb46b5 (diff)
downloadabaddon-portaudio-ab448a3a9820663a882bde242525546cc4273516.tar.gz
abaddon-portaudio-ab448a3a9820663a882bde242525546cc4273516.zip
show status, error when captcha required
Diffstat (limited to 'src/remoteauth/remoteauthdialog.hpp')
-rw-r--r--src/remoteauth/remoteauthdialog.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/remoteauth/remoteauthdialog.hpp b/src/remoteauth/remoteauthdialog.hpp
index 44af821..be559df 100644
--- a/src/remoteauth/remoteauthdialog.hpp
+++ b/src/remoteauth/remoteauthdialog.hpp
@@ -9,6 +9,7 @@ public:
protected:
Gtk::Image m_image;
+ Gtk::Label m_status;
Gtk::Box m_layout;
Gtk::Button m_ok;
Gtk::Button m_cancel;
@@ -17,8 +18,12 @@ protected:
private:
RemoteAuthClient m_ra;
+ void OnHello();
void OnFingerprint(const std::string &fingerprint);
+ void OnPendingTicket(Snowflake user_id, std::string discriminator, std::string avatar_hash, std::string username);
+ void OnPendingLogin();
void OnToken(const std::string &token);
+ void OnError(const std::string &error);
std::string m_token;
};