14819
|
1 |
"{ Package: 'stx:libbasic' }"
|
|
2 |
|
|
3 |
UnixOperatingSystem subclass:#OSXOperatingSystem
|
|
4 |
instanceVariableNames:''
|
|
5 |
classVariableNames:''
|
|
6 |
poolDictionaries:''
|
|
7 |
category:'OS-Unix'
|
|
8 |
!
|
|
9 |
|
|
10 |
|
|
11 |
!OSXOperatingSystem class methodsFor:'file queries'!
|
|
12 |
|
|
13 |
caseSensitiveFilenames
|
|
14 |
"return true, if the OS has caseSensitive file naming.
|
|
15 |
On MSDOS, this will return false;
|
|
16 |
on a real OS, we return true."
|
|
17 |
|
|
18 |
^ false
|
|
19 |
|
|
20 |
"Modified: / 5.6.1998 / 18:35:18 / cg"
|
16381
|
21 |
!
|
|
22 |
|
|
23 |
getTrashDirectory
|
|
24 |
"get the name of a trash folder (if the OS supports it),
|
|
25 |
or nil, if not.
|
|
26 |
Must be redefined to return non nil in concrete operating systems"
|
|
27 |
|
|
28 |
^ '~/.Trash'
|
14819
|
29 |
! !
|
|
30 |
|
|
31 |
!OSXOperatingSystem class methodsFor:'documentation'!
|
|
32 |
|
|
33 |
version
|
16381
|
34 |
^ '$Header: /cvs/stx/stx/libbasic/OSXOperatingSystem.st,v 1.4 2014-04-19 22:50:48 cg Exp $'
|
14819
|
35 |
!
|
|
36 |
|
|
37 |
version_CVS
|
16381
|
38 |
^ '$Header: /cvs/stx/stx/libbasic/OSXOperatingSystem.st,v 1.4 2014-04-19 22:50:48 cg Exp $'
|
14819
|
39 |
! !
|
|
40 |
|