summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-07-06 23:16:20 +0200
committerGitHub <noreply@github.com>2021-07-06 23:16:20 +0200
commit7bd7b8f5e39149ae36108c43cbc130437ce70e44 (patch)
tree773d8832cf02bff29642cee022c5ce8f2c2473a9
parentc39ac9e173687f2dc99ab237e35eb99817203014 (diff)
parent23c1b3957050e39af596263b12d50e4a3566a4cf (diff)
Merge pull request #50219 from goostengine/vcs-virtual-cpp
Make `EditorVCSInterface` proxy functions virtual in C++
-rw-r--r--editor/editor_vcs_interface.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/editor/editor_vcs_interface.h b/editor/editor_vcs_interface.h
index af952eaffc..52ab6d68ee 100644
--- a/editor/editor_vcs_interface.h
+++ b/editor/editor_vcs_interface.h
@@ -46,16 +46,16 @@ protected:
static void _bind_methods();
// Implemented by addons as end points for the proxy functions
- bool _initialize(String p_project_root_path);
- bool _is_vcs_initialized();
- Dictionary _get_modified_files_data();
- void _stage_file(String p_file_path);
- void _unstage_file(String p_file_path);
- void _commit(String p_msg);
- Array _get_file_diff(String p_file_path);
- bool _shut_down();
- String _get_project_name();
- String _get_vcs_name();
+ virtual bool _initialize(String p_project_root_path);
+ virtual bool _is_vcs_initialized();
+ virtual Dictionary _get_modified_files_data();
+ virtual void _stage_file(String p_file_path);
+ virtual void _unstage_file(String p_file_path);
+ virtual void _commit(String p_msg);
+ virtual Array _get_file_diff(String p_file_path);
+ virtual bool _shut_down();
+ virtual String _get_project_name();
+ virtual String _get_vcs_name();
public:
static EditorVCSInterface *get_singleton();