From 20918587d39c5c9c370e3b4beccf883f553d9b3e Mon Sep 17 00:00:00 2001 From: Marcelo Fernandez Date: Mon, 25 Sep 2017 10:15:11 -0300 Subject: FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash --- core/os/os.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/os') 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, -- cgit v1.2.3