aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorin1tiate <32779090+in1tiate@users.noreply.github.com>2021-03-15 17:56:42 -0500
committerGitHub <noreply@github.com>2021-03-15 17:56:42 -0500
commite4483719d495ec7fca50ce0e39480d01d565f9de (patch)
tree21a767b104d4dc7eadbc2b945279f316820c5a15 /include
parent3cac87737809ce7beb48323be77405ef25622d70 (diff)
Deprecate hardcoded string-based authentication, add AUTH packet (#489)
Co-authored-by: oldmud0 <oldmud0@users.noreply.github.com>
Diffstat (limited to 'include')
-rw-r--r--include/aoapplication.h1
-rw-r--r--include/courtroom.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 2dc8649d..9fa8c750 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -87,6 +87,7 @@ public:
bool effects_enabled = false;
bool y_offset_enabled = false;
bool expanded_desk_mods_enabled = false;
+ bool auth_packet_enabled = false;
///////////////loading info///////////////////
diff --git a/include/courtroom.h b/include/courtroom.h
index 6a64deb2..9766c7bf 100644
--- a/include/courtroom.h
+++ b/include/courtroom.h
@@ -312,6 +312,8 @@ public:
// Truncates text so it fits within theme-specified boundaries and sets the tooltip to the full string
void truncate_label_text(QWidget* p_widget, QString p_identifier);
+ void on_authentication_state_received(int p_state);
+
~Courtroom();
private:
AOApplication *ao_app;