Add "Load Last ROM" shortcut and streamline ROM asset loading in EditorManager

This commit is contained in:
scawful
2025-03-11 14:04:13 -04:00
parent c8ce2843b1
commit 33de8d2c77
4 changed files with 35 additions and 28 deletions

View File

@@ -39,7 +39,7 @@ struct Project {
return absl::OkStatus();
}
absl::Status Open(const std::string &project_path);
absl::Status Open(const std::string& project_path);
absl::Status Save();
bool project_opened_ = false;
@@ -128,6 +128,14 @@ class RecentFilesManager {
std::vector<std::string> recent_files_;
};
class VersionControlManager {
absl::Status Commit(const std::string& message);
absl::Status Pull();
absl::Status Push();
private:
std::string repository_path_;
};
} // namespace yaze