*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Thu, 24 Aug 2006 12:20:00 +0200
changeset 9697 d079abe6b6e6
parent 9696 aa90a58aae75
child 9698 e8e27fbaa232
*** empty log message ***
AbstractOperatingSystem.st
--- a/AbstractOperatingSystem.st	Thu Aug 24 11:25:47 2006 +0200
+++ b/AbstractOperatingSystem.st	Thu Aug 24 12:20:00 2006 +0200
@@ -3640,6 +3640,28 @@
     ^ false
 !
 
+knownPlatformNames
+    "return a collection of strings as possibly returned by getPlatformName.
+     Should be used instead of getOSType or getSystemType if multiple choice
+     dialogs are presented to the user."
+
+    ^#(
+        win32
+        os2      "/ actually - this is no longer true
+        mac      "/ actually - this is no longer true
+        vms      "/ actually - this is no longer true
+        beos     "/ actually - this was never true
+        unix
+    )
+
+    "
+     OperatingSystem knownPlatformNames
+     OperatingSystem platformName
+    "
+
+    "Modified: 20.6.1997 / 17:37:26 / cg"
+!
+
 maxFileNameLength
     "return the max number of characters in a filename.
      CAVEAT:
@@ -3686,6 +3708,7 @@
     ^ #unix
 
     "
+     OperatingSystem knownPlatformNames
      OperatingSystem platformName
     "
 
@@ -6338,7 +6361,7 @@
 !AbstractOperatingSystem class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.152 2006-08-07 13:13:15 fm Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/AbstractOperatingSystem.st,v 1.153 2006-08-24 10:20:00 cg Exp $'
 ! !
 
 AbstractOperatingSystem initialize!