diff options
author | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-07-01 02:10:42 -0400 |
---|---|---|
committer | ouwou <26526779+ouwou@users.noreply.github.com> | 2023-07-01 02:10:42 -0400 |
commit | ab448a3a9820663a882bde242525546cc4273516 (patch) | |
tree | b55ee697969427d404ccae2ce83c8f684c3602ed /src/remoteauth/remoteauthdialog.hpp | |
parent | 044e508df7868856648e14ad7c957be8b9bb46b5 (diff) | |
download | abaddon-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.hpp | 5 |
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; }; |