diff options
| author | TrickyLeifa <date.epoch@gmail.com> | 2024-05-17 16:39:30 +0200 |
|---|---|---|
| committer | TrickyLeifa <date.epoch@gmail.com> | 2024-05-17 19:04:57 +0200 |
| commit | 1ef96383c8f7ed136a0e028aef0835b4838b5e95 (patch) | |
| tree | e87a9df097a50b4d1f918f8a4f37d210562d10d6 /src/aoapplication.h | |
| parent | 39e4354b1dae5d8487ea5b84be9f304b1950a61a (diff) | |
Lightly reworked `NetworkManager`, ...
* Lightly reworked `NetworkManager`
* Added new modules to handle various connection types.
* TCP
* WebSocket
* Added general string splitter alias based on Qt version.
* Replaced `lobby_constructed` and `courtroom_constructed`
* Refactored and partially reimplemented the following classes:
* `AOBlipPlayer`
* `AOEmotePreview`
* `AOMusicPlayer`
* `AOSfxPlayer`
* `AOTextArea`
Diffstat (limited to 'src/aoapplication.h')
| -rw-r--r-- | src/aoapplication.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/aoapplication.h b/src/aoapplication.h index 1ff059b6..c8c24441 100644 --- a/src/aoapplication.h +++ b/src/aoapplication.h @@ -61,18 +61,17 @@ public: ~AOApplication(); NetworkManager *net_manager; - Lobby *w_lobby; - Courtroom *w_courtroom; + Lobby *w_lobby = nullptr; + Courtroom *w_courtroom = nullptr; AttorneyOnline::Discord *discord; QFont default_font; - bool lobby_constructed = false; - bool courtroom_constructed = false; - + bool is_lobby_constructed(); void construct_lobby(); void destruct_lobby(); + bool is_courtroom_constructed(); void construct_courtroom(); void destruct_courtroom(); |
