eden/src/yuzu/multiplayer
crueter f4386423e8
[qt] refactor: qt_common lib (#94)
This is part of a series of PRs made in preparation for the QML rewrite. this PR specifically moves a bunch of utility functions from main.cpp into qt_common, with the biggest benefit being that QML can reuse the exact same code through ctx passthrough.

Also, QtCommon::Frontend is an abstraction layer over several previously Widgets-specific stuff like QMessageBox that gets used everywhere. The idea is that once QML is implemented, these functions can have a Quick version implemented for systems that don't work well with Widgets (sun) or for those on Plasma 6+ (reduces memory usage w/o Widgets linkage) although Quick from C++ is actually anal, but whatever.

Other than that this should also just kinda reduce the size of main.cpp which is a 6000-line behemoth rn, and clangd straight up gives up with it for me (likely caused by the massive amount of headers, which this DOES reduce).

In the future, I probably want to create a common strings lookup table that both Qt and QML can reference--though I'm not sure how much linguist likes that--which should give us a way to keep language consistent (use frozen-map).

TODO: Docs for Qt stuff

Co-authored-by: MaranBr <maranbr@outlook.com>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/94
Reviewed-by: MaranBr <maranbr@eden-emu.dev>
Reviewed-by: Shinmegumi <shinmegumi@eden-emu.dev>
2025-09-15 17:21:18 +02:00
..
chat_room.cpp Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
chat_room.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
chat_room.ui yuzu: Add ui files for multiplayer rooms 2022-07-25 21:59:28 +02:00
client_room.cpp Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
client_room.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
client_room.ui yuzu: Add ui files for multiplayer rooms 2022-07-25 21:59:28 +02:00
direct_connect.cpp [qt] refactor: qt_common lib (#94) 2025-09-15 17:21:18 +02:00
direct_connect.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
direct_connect.ui LDN Hostname Support in Direct Connect 2023-01-28 18:33:21 +11:00
host_room.cpp [qt] refactor: qt_common lib (#94) 2025-09-15 17:21:18 +02:00
host_room.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
host_room.ui yuzu: Add ui files for multiplayer rooms 2022-07-25 21:59:28 +02:00
lobby.cpp [qt] refactor: qt_common lib (#94) 2025-09-15 17:21:18 +02:00
lobby.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
lobby.ui added 'Hide empty rooms' toggle to lobby 2023-02-02 18:46:28 -06:00
lobby_p.h Fix multiplayer player count color in dark themes | Temp fix until #12744: Add green color for counts > 0 and < max_players - 1 (#12930) 2024-02-09 18:45:11 -06:00
message.cpp [desktop, core] yuzu -> Eden, eden -> Eden 2025-07-19 00:12:21 -04:00
message.h yuzu/multiplayer: Warn when game is running or no network interface is selected 2022-08-27 03:41:19 +02:00
moderation_dialog.cpp Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
moderation_dialog.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
moderation_dialog.ui yuzu: Add ui files for multiplayer rooms 2022-07-25 21:59:28 +02:00
state.cpp [qt] refactor: qt_common lib (#94) 2025-09-15 17:21:18 +02:00
state.h Added the public lobby to android. (#125) 2025-06-05 18:59:47 +00:00
validation.h LDN Hostname Support in Direct Connect 2023-01-28 18:33:21 +11:00