refactor: Update ROM service implementation and CMake configurations

- Adjusted paths in CMake files to reference the correct location of `rom_service.proto`.
- Refactored `RomServiceImpl` to use a namespace alias for improved readability and maintainability.
- Updated method parameters in `RomServiceImpl` to utilize the new namespace alias for consistency.
- Added a new `rom_service.proto` file to define the ROM manipulation service, enabling remote operations for reading and writing ROM data.
- Enhanced the `RecentFilesManager` to utilize a utility function for retrieving the configuration directory, improving code clarity.
- Included necessary updates in CMake configurations to integrate the new proto file and ensure proper build setup.
This commit is contained in:
scawful
2025-10-05 00:24:35 -04:00
parent eec9f84fb0
commit 91a22bffbb
7 changed files with 36 additions and 31 deletions

View File

@@ -85,7 +85,7 @@ if(YAZE_WITH_GRPC)
target_add_protobuf(yaze_core_lib
${PROJECT_SOURCE_DIR}/src/app/core/proto/imgui_test_harness.proto)
target_add_protobuf(yaze_core_lib
${PROJECT_SOURCE_DIR}/protos/rom_service.proto)
${PROJECT_SOURCE_DIR}/src/protos/rom_service.proto)
# Add test harness implementation
target_sources(yaze_core_lib PRIVATE