Add Load method to editor classes and update corresponding headers

This commit is contained in:
scawful
2025-03-08 10:07:18 -05:00
parent 9919677e43
commit 412e617ce7
22 changed files with 95 additions and 45 deletions

View File

@@ -101,6 +101,10 @@ void AssemblyEditor::Initialize() {
// Set the language definition
}
absl::Status AssemblyEditor::Load() {
return absl::OkStatus();
}
void AssemblyEditor::OpenFolder(const std::string& folder_path) {
current_folder_ = LoadFolder(folder_path);
}

View File

@@ -34,6 +34,7 @@ class AssemblyEditor : public Editor {
}
void Initialize() override;
absl::Status Load() override;
void Update(bool &is_loaded);
void InlineUpdate();