author | Claus Gittinger <cg@exept.de> |
Sat, 11 Nov 1995 16:54:10 +0100 | |
changeset 219 | 9ff0660f447f |
parent 175 | 327b4f340cdb |
child 601 | 2c4c1e797909 |
permissions | -rw-r--r-- |
164 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
175 | 3 |
All Rights Reserved |
164 | 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 |
||
151 | 13 |
'From Smalltalk/X, Version:2.10.5 on 25-may-1995 at 7:37:35 am'! |
14 |
||
15 |
Object subclass:#DeviceHandle |
|
16 |
instanceVariableNames:'device drawableId gcId' |
|
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
19 |
category:'Graphics-Support' |
|
20 |
! |
|
21 |
||
164 | 22 |
!DeviceHandle class methodsFor:'documentation'! |
23 |
||
24 |
copyright |
|
25 |
" |
|
26 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
175 | 27 |
All Rights Reserved |
164 | 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 |
||
175 | 38 |
documentation |
39 |
" |
|
40 |
This is an abstract class for device handles which are responsible |
|
41 |
for finalization i.e. to destroy underlying system resources, when the GC |
|
42 |
frees an object which has created some system object. |
|
43 |
Currently, these are forms and views (streams, cursors, colors and |
|
44 |
fonts could also make use of this class - however, for historical reasons, |
|
45 |
they continue to use their own private finalization machanisms. This may |
|
46 |
change in future versions). |
|
47 |
" |
|
48 |
! |
|
49 |
||
164 | 50 |
version |
219
9ff0660f447f
uff - version methods changed to return stings
Claus Gittinger <cg@exept.de>
parents:
175
diff
changeset
|
51 |
^ '$Header: /cvs/stx/stx/libview/DeviceHandle.st,v 1.4 1995-11-11 15:49:54 cg Exp $' |
164 | 52 |
! ! |
53 |
||
151 | 54 |
!DeviceHandle methodsFor:'accessing'! |
55 |
||
56 |
setDevice:aDevice id:aDrawableId gcId:aGCId |
|
57 |
device := aDevice. |
|
58 |
drawableId := aDrawableId. |
|
59 |
gcId := aGCId |
|
60 |
! ! |