123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373 |
- {
- $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. *
- **********************************************************************}
- { 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 strings.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
- end;
- function SmallPoint(AX, AY: SmallInt): TSmallPoint;
- begin
- end;
- function Rect(ALeft, ATop, ARight, ABottom: Integer): TRect;
- begin
- end;
- function Bounds(ALeft, ATop, AWidth, AHeight: Integer): TRect;
- begin
- 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
- end;
- function GetClass(const ClassName: string): TPersistentClass;
- begin
- 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
- end;
- function IntToIdent(Int: Longint; var Ident: string; const Map: array of TIdentMapEntry): Boolean;
- begin
- end;
- function InitInheritedComponent(Instance: TComponent; RootAncestor: TClass): Boolean;
- begin
- end;
- function InitComponentRes(const ResName: string; Instance: TComponent): Boolean;
- begin
- end;
- function ReadComponentRes(const ResName: string; Instance: TComponent): TComponent;
- begin
- end;
- function ReadComponentResEx(HInstance: THandle; const ResName: string): TComponent;
- begin
- end;
- function ReadComponentResFile(const FileName: string; Instance: TComponent): TComponent;
- begin
- 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
- 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
- end;
- {
- $Log$
- Revision 1.3 1998-06-03 15:10:20 michael
- + added include of util.inc
- Revision 1.2 1998/05/04 14:30:11 michael
- * Split file according to Class; implemented dummys for all methods, so unit compiles.
- Revision 1.9 1998/05/04 12:16:01 florian
- + Initial revisions after making a new directory structure
- Revision 1.8 1998/05/04 11:20:13 florian
- + Write* and Read* methods to TStream added
- * small problems solved
- Revision 1.7 1998/05/04 09:39:51 michael
- + Started implementation of TList
- Revision 1.6 1998/05/01 22:17:19 florian
- + TBits implemented
- + TStream partial implemented
- Revision 1.5 1998/05/01 17:53:12 florian
- * now it compiles with FPC
- Revision 1.4 1998/04/28 11:47:00 florian
- * more adaptions to FPC
- Revision 1.3 1998/04/27 12:55:57 florian
- + uses objpas added
- Revision 1.2 1998/04/27 09:09:49 michael
- + Added log at the end
- }
- {
- $Log$
- Revision 1.3 1998-06-03 15:10:20 michael
- + added include of util.inc
- Revision 1.2 1998/05/04 14:30:11 michael
- * Split file according to Class; implemented dummys for all methods, so unit compiles.
- Revision 1.1 1998/05/04 12:16:01 florian
- + Initial revisions after making a new directory structure
- }
|