author | Stefan Vogel <sv@exept.de> |
Tue, 13 Jul 2004 15:10:20 +0200 | |
changeset 8447 | 9bdea3431846 |
parent 7593 | e7550b9ef84a |
child 9103 | b934315bb0b1 |
permissions | -rw-r--r-- |
7593 | 1 |
" |
2 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
5409 | 13 |
"{ Package: 'stx:libbasic' }" |
14 |
||
4763 | 15 |
ExternalAddress subclass:#OSHandle |
16 |
instanceVariableNames:'' |
|
5409 | 17 |
classVariableNames:'' |
4763 | 18 |
poolDictionaries:'' |
5740 | 19 |
category:'Compatibility-ST80' |
4763 | 20 |
! |
21 |
||
6226 | 22 |
!OSHandle class methodsFor:'documentation'! |
23 |
||
7593 | 24 |
copyright |
25 |
" |
|
26 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
6226 | 38 |
documentation |
39 |
" |
|
40 |
ST-80 compatibility class. |
|
41 |
This may be required when existing code has to be ported to ST/X; |
|
42 |
however, it may not be complete and more protocol may be added in the future. |
|
43 |
The code here was created when public domain code (Manchester) had to |
|
44 |
be ported to ST/X and missing classes/methods were encountered, and code added |
|
45 |
by reasoning 'what the original class could probably do there'. |
|
46 |
||
47 |
[author:] |
|
48 |
Claus Gittinger |
|
49 |
" |
|
50 |
! ! |
|
4763 | 51 |
|
7298 | 52 |
!OSHandle class methodsFor:'Compatibility-VW'! |
5740 | 53 |
|
54 |
currentOS |
|
55 |
"ST-80 compatibility." |
|
56 |
||
57 |
"/ mhmh what does ST80/VW returned here ? |
|
58 |
||
59 |
OperatingSystem isUNIXlike ifTrue:[^ #unix]. |
|
60 |
OperatingSystem isOS2like ifTrue:[^ #os2]. |
|
61 |
OperatingSystem isMSWINDOWSlike ifTrue:[^ #windows]. |
|
62 |
^ #unknown |
|
6295 | 63 |
|
64 |
" |
|
65 |
OSHandle currentOS |
|
66 |
" |
|
6124
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
67 |
! |
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
68 |
|
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
69 |
currentProcessID |
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
70 |
"ST-80 compatibility." |
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
71 |
|
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
72 |
^ OperatingSystem getProcessId |
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
73 |
|
6295 | 74 |
" |
75 |
OSHandle currentProcessID |
|
76 |
" |
|
77 |
||
6124
81baa6b991c3
currentProcessID - for VW compatibility
Claus Gittinger <cg@exept.de>
parents:
5966
diff
changeset
|
78 |
"Created: / 30.10.2001 / 17:31:55 / cg" |
5740 | 79 |
! ! |
80 |
||
4763 | 81 |
!OSHandle methodsFor:'finalization'! |
82 |
||
6439
0f841258ec4a
Use #finalize instead of #disposed
Stefan Vogel <sv@exept.de>
parents:
6295
diff
changeset
|
83 |
finalize |
4763 | 84 |
self subclassResponsibility |
85 |
! ! |
|
86 |
||
87 |
!OSHandle class methodsFor:'documentation'! |
|
88 |
||
89 |
version |
|
7593 | 90 |
^ '$Header: /cvs/stx/stx/libbasic/OSHandle.st,v 1.10 2003-08-30 12:32:18 cg Exp $' |
4763 | 91 |
! ! |