{ $Id$ This file is part of the Free Component Library (FCL) Copyright (c) 1998 by Michael Van Canneyt and Florian Klaempfl 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. **********************************************************************} {********************************************************************** * Class implementations are in separate files. * **********************************************************************} { Include all message strings Add a language with IFDEF LANG_NAME just befor the final ELSE. This way English will always be the default. } {$IFDEF LANG_GERMAN} {$i constsg.inc} {$ELSE} {$IFDEF LANG_SPANISH} {$i constss.inc} {$ELSE} {$i constse.inc} {$ENDIF} {$ENDIF} { Utility routines } {$i util.inc} { TBits implementation } {$i bits.inc} { TReader implementation } {$i reader.inc} { TWriter implementation } {$i writer.inc} { TFiler implementation } {$i filer.inc} { All streams implementations: } { Tstreams THandleStream TFileStream TResourcseStreams TStringStream } { TCustomMemoryStream TMemoryStream } {$i streams.inc} { TParser implementation} {$i parser.inc} { TCollection and TCollectionItem implementations } {$i collect.inc} { TList and TThreadList implementations } {$i lists.inc} { TStrings and TStringList implementations } {$i stringl.inc} { TThread implementation } {$i thread.inc} { TPersistent implementation } {$i persist.inc } { TComponent implementation } {$i compon.inc} {********************************************************************** * Miscellaneous procedures and functions * **********************************************************************} { Point and rectangle constructors } function Point(AX, AY: Integer): TPoint; begin with Result do begin X := AX; Y := AY; end; end; function SmallPoint(AX, AY: SmallInt): TSmallPoint; begin with Result do begin X := AX; Y := AY; end; end; function Rect(ALeft, ATop, ARight, ABottom: Integer): TRect; begin with Result do begin Left := ALeft; Top := ATop; Right := ARight; Bottom := ABottom; end; end; function Bounds(ALeft, ATop, AWidth, AHeight: Integer): TRect; begin with Result do begin Left := ALeft; Top := ATop; Right := ALeft + AWidth; Bottom := ATop + AHeight; end; end; { Class registration routines } procedure RegisterClass(AClass: TPersistentClass); begin end; procedure RegisterClasses(AClasses: array of TPersistentClass); begin end; procedure RegisterClassAlias(AClass: TPersistentClass; const Alias: string); begin end; procedure UnRegisterClass(AClass: TPersistentClass); begin end; procedure UnRegisterClasses(AClasses: array of TPersistentClass); begin end; procedure UnRegisterModuleClasses(Module: HMODULE); begin end; function FindClass(const ClassName: string): TPersistentClass; begin FindClass:=nil; end; function GetClass(const ClassName: string): TPersistentClass; begin GetClass:=nil; end; { Component registration routines } procedure RegisterComponents(const Page: string; ComponentClasses: array of TComponentClass); begin end; procedure RegisterNoIcon(ComponentClasses: array of TComponentClass); begin end; procedure RegisterNonActiveX(ComponentClasses: array of TComponentClass; AxRegType: TActiveXRegType); begin end; { Object filing routines } procedure RegisterIntegerConsts(IntegerType: Pointer; IdentToInt: TIdentToInt; IntToIdent: TIntToIdent); begin end; function IdentToInt(const Ident: string; var Int: Longint; const Map: array of TIdentMapEntry): Boolean; begin IdentToInt:=false; end; function IntToIdent(Int: Longint; var Ident: string; const Map: array of TIdentMapEntry): Boolean; begin IntToIdent:=false; end; function InitInheritedComponent(Instance: TComponent; RootAncestor: TClass): Boolean; begin InitInheritedComponent:=false; end; function InitComponentRes(const ResName: string; Instance: TComponent): Boolean; begin InitComponentRes:=false; end; function ReadComponentRes(const ResName: string; Instance: TComponent): TComponent; begin ReadComponentRes:=nil; end; function ReadComponentResEx(HInstance: THandle; const ResName: string): TComponent; begin ReadComponentResEx:=nil; end; function ReadComponentResFile(const FileName: string; Instance: TComponent): TComponent; begin ReadComponentResFile:=nil; end; procedure WriteComponentResFile(const FileName: string; Instance: TComponent); begin end; procedure GlobalFixupReferences; begin end; procedure GetFixupReferenceNames(Root: TComponent; Names: TStrings); begin end; procedure GetFixupInstanceNames(Root: TComponent; const ReferenceRootName: string; Names: TStrings); begin end; procedure RedirectFixupReferences(Root: TComponent; const OldRootName, NewRootName: string); begin end; procedure RemoveFixupReferences(Root: TComponent; const RootName: string); begin end; procedure RemoveFixups(Instance: TPersistent); begin end; procedure BeginGlobalLoading; begin end; procedure NotifyGlobalLoading; begin end; procedure EndGlobalLoading; begin end; function CollectionsEqual(C1, C2: TCollection): Boolean; begin CollectionsEqual:=false; end; { Object conversion routines } procedure ObjectBinaryToText(Input, Output: TStream); begin end; procedure ObjectTextToBinary(Input, Output: TStream); begin end; procedure ObjectResourceToText(Input, Output: TStream); begin end; procedure ObjectTextToResource(Input, Output: TStream); begin end; { Utility routines } function LineStart(Buffer, BufPos: PChar): PChar; begin LineStart:=nil; end; { $Log$ Revision 1.10 1999-04-13 08:52:29 michael + Moved strings.inc to stringl.inc, to avoid conflict with strings unit Revision 1.9 1999/04/08 10:18:50 peter * makefile updates }