summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorMarcelo Fernandez <marcelofg55@gmail.com>2017-09-25 10:15:11 -0300
committerMarcelo Fernandez <marcelofg55@gmail.com>2017-09-25 21:49:01 -0300
commit20918587d39c5c9c370e3b4beccf883f553d9b3e (patch)
treeb0035e8e35dbe0d4cbf97dc6a05e946bcbd5dc64 /core
parent09800ac65079599c568679b53962a313182885ea (diff)
FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash
Diffstat (limited to 'core')
-rw-r--r--core/os/os.h2
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,