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

@@ -10,6 +10,7 @@
#ifdef YAZE_WITH_GRPC
#include <grpcpp/grpcpp.h>
#include "protos/rom_service.grpc.pb.h"
// Note: Proto files will be generated to build directory
#endif
#include "app/rom.h"