*** empty log message ***
authorClaus Gittinger <cg@exept.de>
Tue, 11 Dec 2001 19:09:14 +0100
changeset 6296 03945cc43a97
parent 6295 8cd84857b5bb
child 6297 7d0a04fb50be
*** empty log message ***
Win32Handle.st
bc.mak
nt.mak
--- a/Win32Handle.st	Tue Dec 11 18:47:47 2001 +0100
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,125 +0,0 @@
-OSFileHandle subclass:#Win32Handle
-	instanceVariableNames:''
-	classVariableNames:''
-	poolDictionaries:''
-	category:'OS-Windows'
-!
-
-!Win32Handle primitiveDefinitions!
-%{
-
-/*
- * sigh - must undef those (from stc.h-definitions);
- * they are also defined in windows.h
- */
-# undef INT
-# undef Array
-# undef Number
-# undef Method
-# undef Point
-# undef Rectangle
-# undef Block
-# undef String
-# undef Message
-# undef Object
-# undef Context
-# undef Time
-# undef Date
-# undef Set
-# undef Signal
-# undef Delay
-
-# include <windows.h>
-
-/*
- * sigh - must redef those as st/x defs;
- */
-# ifdef __DEF_Array
-#  define Array __DEF_Array
-# endif
-# ifdef __DEF_Number
-#  define Number __DEF_Number
-# endif
-# ifdef __DEF_Method
-#  define Method __DEF_Method
-# endif
-# ifdef __DEF_Point
-#  define Point __DEF_Point
-# endif
-# ifdef __DEF_Block
-#  define Block __DEF_Block
-# endif
-# ifdef __DEF_String
-#  define String __DEF_String
-# endif
-# ifdef __DEF_Message
-#  define Message __DEF_Message
-# endif
-# ifdef __DEF_Object
-#  define Object __DEF_Object
-# endif
-# ifdef __DEF_Context
-#  define Context __DEF_Context
-# endif
-# ifdef __DEF_Date
-#  define Date __DEF_Date
-# endif
-# ifdef __DEF_Time
-#  define Time __DEF_Time
-# endif
-# ifdef __DEF_Set
-#  define Set __DEF_Set
-# endif
-# ifdef __DEF_Signal
-#  define Signal __DEF_Signal
-# endif
-# ifdef __DEF_Delay
-#  define Delay __DEF_Delay
-# endif
-
-# define INT int
-%}
-
-! !
-
-
-!Win32Handle methodsFor:'finalization'!
-
-disposed
-    "a file handle was garbage collected - close the underlying file"
-
-%{
-    HANDLE h = (HANDLE)(__externalAddressVal(self));
-
-    if (h) {
-	__externalAddressVal(self) = (HANDLE)0;
-	CloseHandle(h);
-    }
-%}
-
-
-! !
-
-!Win32Handle methodsFor:'release'!
-
-close
-    "close the handle"
-
-%{
-    HANDLE h = (HANDLE)(__externalAddressVal(self));
-
-    if (h) {
-	__externalAddressVal(self) = (HANDLE)0;
-	CloseHandle(h);
-    }
-%}.
-    Lobby unregister:self
-
-
-! !
-
-!Win32Handle class methodsFor:'documentation'!
-
-version
-    ^ '$Header: /cvs/stx/stx/libbasic/Win32Handle.st,v 1.2 1999-12-17 11:35:56 cg Exp $'
-! !
--- a/bc.mak	Tue Dec 11 18:47:47 2001 +0100
+++ b/bc.mak	Tue Dec 11 19:09:14 2001 +0100
@@ -2,7 +2,7 @@
 # DO NOT EDIT 
 # automatically generated from Make.proto (by make nt.mak)
 #
-# $Header: /cvs/stx/stx/libbasic/bc.mak,v 1.64 2001-12-11 16:02:56 cg Exp $
+# $Header: /cvs/stx/stx/libbasic/bc.mak,v 1.65 2001-12-11 18:09:14 cg Exp $
 #
 TOP=..
 #
@@ -179,8 +179,6 @@
   $(OUTDIR)UserPreferences.$(O) \
   $(OUTDIR)ObjectCoder.$(O) \
   $(OUTDIR)PCFilename.$(O) \
-  $(OUTDIR)Win32FILEHandle.$(O) \
-  $(OUTDIR)Win32Handle.$(O) \
   $(OUTDIR)Win32OperatingSystem.$(O) \
 
 
@@ -322,8 +320,6 @@
 $(OUTDIR)WeakInterestConverter.$(O) WeakInterestConverter.$(H): WeakInterestConverter.st $(STCHDR)  ../include/Object.$(H) 
 $(OUTDIR)WeakValueDictionary.$(O) WeakValueDictionary.$(H): WeakValueDictionary.st $(STCHDR)  ../include/Dictionary.$(H)  ../include/Set.$(H)  ../include/Collection.$(H)  ../include/Object.$(H) 
 $(OUTDIR)WeakValueIdentityDictionary.$(O) WeakValueIdentityDictionary.$(H): WeakValueIdentityDictionary.st $(STCHDR)  ../include/IdentityDictionary.$(H)  ../include/Dictionary.$(H)  ../include/Set.$(H)  ../include/Collection.$(H)  ../include/Object.$(H) 
-$(OUTDIR)Win32FILEHandle.$(O) Win32FILEHandle.$(H): Win32FILEHandle.st $(STCHDR)  ../include/OSFileHandle.$(H)  ../include/OSHandle.$(H)  ../include/ExternalAddress.$(H)  ../include/Object.$(H) 
-$(OUTDIR)Win32Handle.$(O) Win32Handle.$(H): Win32Handle.st $(STCHDR)  ../include/OSFileHandle.$(H)  ../include/OSHandle.$(H)  ../include/ExternalAddress.$(H)  ../include/Object.$(H) 
 $(OUTDIR)Win32OperatingSystem.$(O) Win32OperatingSystem.$(H): Win32OperatingSystem.st $(STCHDR)  ../include/AbstractOperatingSystem.$(H)  ../include/Object.$(H) 
 $(OUTDIR)Win32Process.$(O) Win32Process.$(H): Win32Process.st $(STCHDR)  ../include/Object.$(H) 
 $(OUTDIR)WriteStream.$(O) WriteStream.$(H): WriteStream.st $(STCHDR)  ../include/PositionableStream.$(H)  ../include/PeekableStream.$(H)  ../include/Stream.$(H)  ../include/Object.$(H) 
--- a/nt.mak	Tue Dec 11 18:47:47 2001 +0100
+++ b/nt.mak	Tue Dec 11 19:09:14 2001 +0100
@@ -2,7 +2,7 @@
 # DO NOT EDIT 
 # automatically generated from Make.proto (by make nt.mak)
 #
-# $Header: /cvs/stx/stx/libbasic/Attic/nt.mak,v 1.64 2001-12-11 16:02:56 cg Exp $
+# $Header: /cvs/stx/stx/libbasic/Attic/nt.mak,v 1.65 2001-12-11 18:09:14 cg Exp $
 #
 TOP=..
 #
@@ -179,8 +179,6 @@
   $(OUTDIR)UserPreferences.$(O) \
   $(OUTDIR)ObjectCoder.$(O) \
   $(OUTDIR)PCFilename.$(O) \
-  $(OUTDIR)Win32FILEHandle.$(O) \
-  $(OUTDIR)Win32Handle.$(O) \
   $(OUTDIR)Win32OperatingSystem.$(O) \
 
 
@@ -322,8 +320,6 @@
 $(OUTDIR)WeakInterestConverter.$(O) WeakInterestConverter.$(H): WeakInterestConverter.st $(STCHDR)  ../include/Object.$(H) 
 $(OUTDIR)WeakValueDictionary.$(O) WeakValueDictionary.$(H): WeakValueDictionary.st $(STCHDR)  ../include/Dictionary.$(H)  ../include/Set.$(H)  ../include/Collection.$(H)  ../include/Object.$(H) 
 $(OUTDIR)WeakValueIdentityDictionary.$(O) WeakValueIdentityDictionary.$(H): WeakValueIdentityDictionary.st $(STCHDR)  ../include/IdentityDictionary.$(H)  ../include/Dictionary.$(H)  ../include/Set.$(H)  ../include/Collection.$(H)  ../include/Object.$(H) 
-$(OUTDIR)Win32FILEHandle.$(O) Win32FILEHandle.$(H): Win32FILEHandle.st $(STCHDR)  ../include/OSFileHandle.$(H)  ../include/OSHandle.$(H)  ../include/ExternalAddress.$(H)  ../include/Object.$(H) 
-$(OUTDIR)Win32Handle.$(O) Win32Handle.$(H): Win32Handle.st $(STCHDR)  ../include/OSFileHandle.$(H)  ../include/OSHandle.$(H)  ../include/ExternalAddress.$(H)  ../include/Object.$(H) 
 $(OUTDIR)Win32OperatingSystem.$(O) Win32OperatingSystem.$(H): Win32OperatingSystem.st $(STCHDR)  ../include/AbstractOperatingSystem.$(H)  ../include/Object.$(H) 
 $(OUTDIR)Win32Process.$(O) Win32Process.$(H): Win32Process.st $(STCHDR)  ../include/Object.$(H) 
 $(OUTDIR)WriteStream.$(O) WriteStream.$(H): WriteStream.st $(STCHDR)  ../include/PositionableStream.$(H)  ../include/PeekableStream.$(H)  ../include/Stream.$(H)  ../include/Object.$(H)