From c9f52b7223685d2e7fca925594171f94dd8c6e3b Mon Sep 17 00:00:00 2001 From: TrickyLeifa Date: Wed, 15 May 2024 00:00:17 +0200 Subject: Ported to CMake, ... * Ported the project to CMake * Android and Mac support dropped for the time being. * Tests, BASS and Discord-RPC are now options * Restructured and reformated the project. * Merged `include` and `src` * Renamed `resource` to `data` * Renamed various files * External libraries headers are no longer included in `src` * Replaced header guards with #pragma once * Multiple refactors (keywords, headers) * Added Qt6 compatibility * Removed various unused functions and headers * Reworked AOPacket * When content is passed to AOPacket, it should be ensured that the content is already decoded. * Encoding/decoding are now static methods. * Fixed various memory leaks * Removed animation code for AOImage * AOImage is always using static images * Simplified ChatLogPiece --- src/interfaces/server_dialog.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/interfaces/server_dialog.h (limited to 'src/interfaces') diff --git a/src/interfaces/server_dialog.h b/src/interfaces/server_dialog.h new file mode 100644 index 00000000..98c57fee --- /dev/null +++ b/src/interfaces/server_dialog.h @@ -0,0 +1,20 @@ +#pragma once + +#include + +namespace AttorneyOnline +{ +namespace UI +{ +class FavoriteServerDialog : public QDialog +{ +public: + const QString DEFAULT_UI = "favorite_server_dialog.ui"; + const int TCP_INDEX = 0; + +private Q_SLOTS: + virtual void onSavePressed() = 0; + virtual void onCancelPressed() = 0; +}; +} // namespace UI +} // namespace AttorneyOnline -- cgit