Merge pull request #50219 from goostengine/vcs-virtual-cpp
Make `EditorVCSInterface` proxy functions virtual in C++
This commit is contained in:
commit
7bd7b8f5e3
1 changed files with 10 additions and 10 deletions
|
@ -46,16 +46,16 @@ protected:
|
||||||
static void _bind_methods();
|
static void _bind_methods();
|
||||||
|
|
||||||
// Implemented by addons as end points for the proxy functions
|
// Implemented by addons as end points for the proxy functions
|
||||||
bool _initialize(String p_project_root_path);
|
virtual bool _initialize(String p_project_root_path);
|
||||||
bool _is_vcs_initialized();
|
virtual bool _is_vcs_initialized();
|
||||||
Dictionary _get_modified_files_data();
|
virtual Dictionary _get_modified_files_data();
|
||||||
void _stage_file(String p_file_path);
|
virtual void _stage_file(String p_file_path);
|
||||||
void _unstage_file(String p_file_path);
|
virtual void _unstage_file(String p_file_path);
|
||||||
void _commit(String p_msg);
|
virtual void _commit(String p_msg);
|
||||||
Array _get_file_diff(String p_file_path);
|
virtual Array _get_file_diff(String p_file_path);
|
||||||
bool _shut_down();
|
virtual bool _shut_down();
|
||||||
String _get_project_name();
|
virtual String _get_project_name();
|
||||||
String _get_vcs_name();
|
virtual String _get_vcs_name();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static EditorVCSInterface *get_singleton();
|
static EditorVCSInterface *get_singleton();
|
||||||
|
|
Loading…
Reference in a new issue