diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-10-02 23:52:09 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-02 23:52:09 +0700 |
commit | 478fd21e07fd4092e3a099556d4004e34ae31177 (patch) | |
tree | 45f4cee59e852440f43b2e9e8c17e879053f8eb7 /core/os | |
parent | 34ea27138072446947ee12bfcaba288f9ff825e5 (diff) | |
parent | 20918587d39c5c9c370e3b4beccf883f553d9b3e (diff) |
Merge pull request #11575 from marcelofg55/move_path_to_trash
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
Diffstat (limited to 'core/os')
-rw-r--r-- | core/os/os.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h index 38bbbc0a57..3806217f55 100644 --- a/core/os/os.h +++ b/core/os/os.h @@ -335,6 +335,8 @@ public: virtual String get_data_dir() const; virtual String get_resource_dir() const; + virtual Error move_to_trash(const String &p_path) { return FAILED; } + enum SystemDir { SYSTEM_DIR_DESKTOP, SYSTEM_DIR_DCIM, |