Implement Initialize method in Editor class and override in derived editors
This commit is contained in:
@@ -97,6 +97,10 @@ FolderItem LoadFolder(const std::string& folder) {
|
||||
|
||||
} // namespace
|
||||
|
||||
void AssemblyEditor::Initialize() {
|
||||
// Set the language definition
|
||||
}
|
||||
|
||||
void AssemblyEditor::OpenFolder(const std::string& folder_path) {
|
||||
current_folder_ = LoadFolder(folder_path);
|
||||
}
|
||||
|
||||
@@ -33,6 +33,7 @@ class AssemblyEditor : public Editor {
|
||||
file_is_loaded_ = false;
|
||||
}
|
||||
|
||||
void Initialize() override;
|
||||
void Update(bool &is_loaded);
|
||||
void InlineUpdate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user