refactor(app): reorganize application structure and update includes
- Moved core components such as `Controller` and `Window` from `src/app/core/` to `src/app/` and `src/app/platform/`, respectively, to improve modularity and clarity. - Updated include paths across the codebase to reflect the new locations of these components. - Introduced a new foundational core library in `src/core/` for project management and ROM patching logic, enhancing the separation of concerns. - Adjusted CMake configurations to ensure proper compilation of the new core library and updated dependencies in various modules. Benefits: - Streamlines the application structure, making it easier to navigate and maintain. - Enhances code organization by clearly delineating core functionalities from application-specific logic. - Improves overall architecture by promoting a clearer separation of concerns between different components.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "absl/status/status.h"
|
||||
#include "app/core/project.h"
|
||||
#include "core/project.h"
|
||||
|
||||
namespace yaze {
|
||||
namespace editor {
|
||||
@@ -41,8 +41,8 @@ class ProjectManager {
|
||||
absl::Status ValidateProject();
|
||||
|
||||
// Project information
|
||||
core::YazeProject& GetCurrentProject() { return current_project_; }
|
||||
const core::YazeProject& GetCurrentProject() const { return current_project_; }
|
||||
project::YazeProject& GetCurrentProject() { return current_project_; }
|
||||
const project::YazeProject& GetCurrentProject() const { return current_project_; }
|
||||
bool HasActiveProject() const { return !current_project_.filepath.empty(); }
|
||||
std::string GetProjectName() const;
|
||||
std::string GetProjectPath() const;
|
||||
@@ -53,7 +53,7 @@ class ProjectManager {
|
||||
const std::string& project_name);
|
||||
|
||||
private:
|
||||
core::YazeProject current_project_;
|
||||
project::YazeProject current_project_;
|
||||
ToastManager* toast_manager_ = nullptr;
|
||||
|
||||
// Helper methods
|
||||
|
||||
Reference in New Issue
Block a user