mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-25 12:41:40 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			88 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
			
		
		
	
	
			88 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			ObjectPascal
		
	
	
	
	
	
| {
 | |
|     $Id$
 | |
|     This file is part of the Free Component Library (FCL)
 | |
|     Copyright (c) 1999-2000 by Michael Van Canneyt and Florian Klaempfl
 | |
| 
 | |
|     Classes unit for linux
 | |
| 
 | |
|     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}
 | |
| 
 | |
| { Require threading }
 | |
| {$ifndef ver1_0}
 | |
|   {$threading on}
 | |
| {$endif ver1_0}
 | |
| 
 | |
| { determine the type of the resource/form file }
 | |
| {$define Win16Res}
 | |
| 
 | |
| unit Classes;
 | |
| 
 | |
| interface
 | |
| 
 | |
| uses
 | |
|   sysutils,
 | |
|   types,
 | |
|   typinfo,
 | |
|   rtlconst;
 | |
| 
 | |
| {$i classesh.inc}
 | |
| 
 | |
| implementation
 | |
| 
 | |
| uses
 | |
|   BaseUnix,unix
 | |
|   ;
 | |
| 
 | |
| { OS - independent class implementations are in /inc directory. }
 | |
| {$i classes.inc}
 | |
| 
 | |
| 
 | |
| initialization
 | |
|   CommonInit;
 | |
| 
 | |
| finalization
 | |
|   CommonCleanup;
 | |
| 
 | |
| {$ifndef VER1_0}
 | |
|   if ThreadsInited then
 | |
|      DoneThreads;
 | |
| {$endif}
 | |
| 
 | |
| end.
 | |
| {
 | |
|   $Log$
 | |
|   Revision 1.5  2004-01-22 17:11:23  peter
 | |
|     * classes uses types to import TPoint and TRect
 | |
| 
 | |
|   Revision 1.4  2004/01/10 19:35:52  michael
 | |
|   + Moved all resource strings to rtlconst/sysconst
 | |
| 
 | |
|   Revision 1.3  2003/11/19 15:51:54  peter
 | |
|     * tthread disabled for 1.0.x
 | |
| 
 | |
|   Revision 1.2  2003/11/10 16:54:28  marco
 | |
|    * new oldlinux unit. 1_0 defines killed in some former FCL parts.
 | |
| 
 | |
|   Revision 1.1  2003/10/06 21:01:06  peter
 | |
|     * moved classes unit to rtl
 | |
| 
 | |
|   Revision 1.7  2003/09/20 15:10:30  marco
 | |
|    * small fixes. fcl now compiles
 | |
| 
 | |
|   Revision 1.6  2002/10/14 19:45:54  peter
 | |
|     * threading switch
 | |
| 
 | |
|   Revision 1.5  2002/09/07 15:15:27  peter
 | |
|     * old logs removed and tabs fixed
 | |
| 
 | |
| }
 | 
