OSXOperatingSystem.st
changeset 16381 d47eab2e1e10
parent 15803 dd96c511972f
child 16644 c8e610a071c3
--- a/OSXOperatingSystem.st	Sun Apr 20 00:49:49 2014 +0200
+++ b/OSXOperatingSystem.st	Sun Apr 20 00:50:48 2014 +0200
@@ -18,15 +18,23 @@
     ^ false
 
     "Modified: / 5.6.1998 / 18:35:18 / cg"
+!
+
+getTrashDirectory
+    "get the name of a trash folder (if the OS supports it),
+     or nil, if not.
+     Must be redefined to return non nil in concrete operating systems"
+
+    ^ '~/.Trash'
 ! !
 
 !OSXOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/OSXOperatingSystem.st,v 1.3 2013-11-12 11:18:08 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/OSXOperatingSystem.st,v 1.4 2014-04-19 22:50:48 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/OSXOperatingSystem.st,v 1.3 2013-11-12 11:18:08 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/OSXOperatingSystem.st,v 1.4 2014-04-19 22:50:48 cg Exp $'
 ! !