eden/src/core
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
..
arm [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
crypto [cmake, core] refactor: update mbedtls and make YUZU_USE_CPM better (#485) 2025-09-15 04:22:15 +02:00
debugger [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
file_sys [qt] refactor: qt_common lib (#94) 2025-09-15 17:21:18 +02:00
frontend [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
hle [cmake, core] refactor: update mbedtls and make YUZU_USE_CPM better (#485) 2025-09-15 04:22:15 +02:00
internal_network [core, desktop] "fixes" from building on mxe/x86_64-w64-mingw32 (#396) 2025-09-10 02:22:07 +02:00
loader [cmake, core] refactor: update mbedtls and make YUZU_USE_CPM better (#485) 2025-09-15 04:22:15 +02:00
memory [meta] remove MicroProfile (#185) 2025-08-06 07:48:11 +02:00
tools [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
CMakeLists.txt [cmake, core] refactor: update mbedtls and make YUZU_USE_CPM better (#485) 2025-09-15 04:22:15 +02:00
constants.cpp service: acc: Replace default image with a 32x32 image 2023-03-05 16:36:19 -06:00
constants.h service: acc: Replace default image with a 32x32 image 2023-03-05 16:36:19 -06:00
core.cpp [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
core.h [meta] remove MicroProfile (#185) 2025-08-06 07:48:11 +02:00
core_timing.cpp [meta] remove MicroProfile (#185) 2025-08-06 07:48:11 +02:00
core_timing.h core_timing: handle concurrent unscheduling of looping events 2023-12-23 15:36:46 -05:00
cpu_manager.cpp [meta] remove MicroProfile (#185) 2025-08-06 07:48:11 +02:00
cpu_manager.h Fix typos in src/core (#12625) 2024-01-08 13:31:48 -06:00
device_memory.cpp core: Define HAS_NCE macro 2023-11-25 00:47:36 -05:00
device_memory.h Core: Initial implementation of device memory mapping 2024-01-18 21:12:30 -05:00
device_memory_manager.h Port changes from Early Access 2025-04-04 03:40:46 +02:00
device_memory_manager.inc [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
gpu_dirty_memory_manager.h Core: Eliminate core/memory dependancies. 2024-01-18 21:12:30 -05:00
guest_memory.h Solves warning about GuestMemory having internal linkage. 2025-04-04 03:40:47 +02:00
hardware_properties.h [dynarmic] jit fix branch v2 (#203) 2025-08-27 06:49:50 +02:00
memory.cpp [cmake] enable clang-cl and WoA builds (#348) 2025-09-09 20:47:49 +02:00
memory.h Revert "[heap_tracker] Use ankerl map instead of rb tree (#249)" (#382) 2025-09-04 16:04:42 +02:00
perf_stats.cpp User Data Migration from Citron, Sudachi, and Yuzu (#91) 2025-05-08 22:16:07 +00:00
perf_stats.h chore: make yuzu REUSE compliant 2022-07-27 12:53:49 +02:00
precompiled_headers.h CMake: Consolidate common PCH headers 2022-11-30 18:30:30 -05:00
reporter.cpp User Data Migration from Citron, Sudachi, and Yuzu (#91) 2025-05-08 22:16:07 +00:00
reporter.h service: move hle_ipc from kernel 2023-03-01 10:39:49 -05:00