mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 04:31:35 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			71 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| {
 | |
|     This file is part of the Free Component Library (FCL)
 | |
|     Copyright (c) 1999-2002 by the Free Pascal development team
 | |
| 
 | |
|     Classes unit for OS/2
 | |
| 
 | |
|     See the file COPYING.FPC, included in this distribution,
 | |
|     for details about the copyright.
 | |
| 
 | |
|     This program is distributed in the hope that it will be useful,
 | |
|     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | |
|     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | |
| 
 | |
|  **********************************************************************}
 | |
| 
 | |
| {$mode objfpc}
 | |
| {$H+}
 | |
| {$IF FPC_FULLVERSION>=30301}
 | |
| {$modeswitch FUNCTIONREFERENCES}
 | |
| {$define FPC_HAS_REFERENCE_PROCEDURE}
 | |
| {$endif}
 | |
| 
 | |
| { determine the type of the resource/form file }
 | |
| {$define Win16Res}
 | |
| 
 | |
| {$IFNDEF FPC_DOTTEDUNITS}
 | |
| unit Classes;
 | |
| {$ENDIF FPC_DOTTEDUNITS}
 | |
| 
 | |
| interface
 | |
| 
 | |
| {$IFDEF FPC_DOTTEDUNITS}
 | |
| uses
 | |
|   System.SysUtils,
 | |
|   System.RtlConsts,
 | |
|   System.Types,
 | |
|   System.SortBase,
 | |
| {$ifdef FPC_TESTGENERICS}
 | |
|   System.FGL,
 | |
| {$endif}
 | |
|   System.TypInfo;
 | |
| {$ELSE FPC_DOTTEDUNITS}
 | |
| uses
 | |
|   sysutils,
 | |
|   rtlconsts,
 | |
|   types,
 | |
|   sortbase,
 | |
| {$ifdef FPC_TESTGENERICS}
 | |
|   fgl,
 | |
| {$endif}
 | |
|   typinfo;
 | |
| {$ENDIF FPC_DOTTEDUNITS}
 | |
| 
 | |
| {$i classesh.inc}
 | |
| 
 | |
| 
 | |
| implementation
 | |
| 
 | |
| 
 | |
| { OS - independent class implementations are in /inc directory. }
 | |
| {$i classes.inc}
 | |
| 
 | |
| 
 | |
| initialization
 | |
|   CommonInit;
 | |
| 
 | |
| finalization
 | |
|   CommonCleanup;
 | |
| 
 | |
| end.
 | 
