FileSystemDock will now remove files/dirs to trashcan using OS::move_to_trash

This commit is contained in:
Marcelo Fernandez 2017-09-25 10:15:11 -03:00
parent 09800ac650
commit 20918587d3
9 changed files with 140 additions and 13 deletions

View file

@ -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,