Skip to content

Commit

Permalink
Merge pull request #50219 from goostengine/vcs-virtual-cpp
Browse files Browse the repository at this point in the history
Make `EditorVCSInterface` proxy functions virtual in C++
  • Loading branch information
akien-mga authored Jul 6, 2021
2 parents c39ac9e + 23c1b39 commit 7bd7b8f
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions editor/editor_vcs_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ class EditorVCSInterface : public Object {
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();
Expand Down

0 comments on commit 7bd7b8f

Please sign in to comment.