Replace File/Directory with FileAccess/DirAccess
This commit is contained in:
parent
63c0dc690e
commit
9f2dc68279
39 changed files with 502 additions and 940 deletions
|
|
@ -58,7 +58,7 @@ void FileAccessWindows::check_errors() const {
|
|||
}
|
||||
}
|
||||
|
||||
Error FileAccessWindows::_open(const String &p_path, int p_mode_flags) {
|
||||
Error FileAccessWindows::open_internal(const String &p_path, int p_mode_flags) {
|
||||
_close();
|
||||
|
||||
path_src = p_path;
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ class FileAccessWindows : public FileAccess {
|
|||
void _close();
|
||||
|
||||
public:
|
||||
virtual Error _open(const String &p_path, int p_mode_flags) override; ///< open a file
|
||||
virtual Error open_internal(const String &p_path, int p_mode_flags) override; ///< open a file
|
||||
virtual bool is_open() const override; ///< true when file is open
|
||||
|
||||
virtual String get_path() const override; /// returns the path for the current open file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue