classes.inc 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  1. {
  2. $Id$
  3. This file is part of the Free Component Library (FCL)
  4. Copyright (c) 1998 by Michael Van Canneyt and Florian Klaempfl
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. **********************************************************************}
  11. {**********************************************************************
  12. * Class implementations are in separate files. *
  13. **********************************************************************}
  14. { Utility routines }
  15. {$i util.inc}
  16. { TBits implementation }
  17. {$i bits.inc}
  18. { TReader implementation }
  19. {$i reader.inc}
  20. { TWriter implementation }
  21. {$i writer.inc}
  22. { TFiler implementation }
  23. {$i filer.inc}
  24. { All streams implementations: }
  25. { Tstreams THandleStream TFileStream TResourcseStreams TStringStream }
  26. { TCustomMemoryStream TMemoryStream }
  27. {$i streams.inc}
  28. { TParser implementation}
  29. {$i parser.inc}
  30. { TCollection and TCollectionItem implementations }
  31. {$i collect.inc}
  32. { TList and TThreadList implementations }
  33. {$i lists.inc}
  34. { TStrings and TStringList implementations }
  35. {$i strings.inc}
  36. { TThread implementation }
  37. {$i thread.inc}
  38. { TPersistent implementation }
  39. {$i persist.inc }
  40. { TComponent implementation }
  41. {$i compon.inc}
  42. {**********************************************************************
  43. * Miscellaneous procedures and functions *
  44. **********************************************************************}
  45. { Point and rectangle constructors }
  46. function Point(AX, AY: Integer): TPoint;
  47. begin
  48. end;
  49. function SmallPoint(AX, AY: SmallInt): TSmallPoint;
  50. begin
  51. end;
  52. function Rect(ALeft, ATop, ARight, ABottom: Integer): TRect;
  53. begin
  54. end;
  55. function Bounds(ALeft, ATop, AWidth, AHeight: Integer): TRect;
  56. begin
  57. end;
  58. { Class registration routines }
  59. procedure RegisterClass(AClass: TPersistentClass);
  60. begin
  61. end;
  62. procedure RegisterClasses(AClasses: array of TPersistentClass);
  63. begin
  64. end;
  65. procedure RegisterClassAlias(AClass: TPersistentClass; const Alias: string);
  66. begin
  67. end;
  68. procedure UnRegisterClass(AClass: TPersistentClass);
  69. begin
  70. end;
  71. procedure UnRegisterClasses(AClasses: array of TPersistentClass);
  72. begin
  73. end;
  74. procedure UnRegisterModuleClasses(Module: HMODULE);
  75. begin
  76. end;
  77. function FindClass(const ClassName: string): TPersistentClass;
  78. begin
  79. end;
  80. function GetClass(const ClassName: string): TPersistentClass;
  81. begin
  82. end;
  83. { Component registration routines }
  84. procedure RegisterComponents(const Page: string;
  85. ComponentClasses: array of TComponentClass);
  86. begin
  87. end;
  88. procedure RegisterNoIcon(ComponentClasses: array of TComponentClass);
  89. begin
  90. end;
  91. procedure RegisterNonActiveX(ComponentClasses: array of TComponentClass;
  92. AxRegType: TActiveXRegType);
  93. begin
  94. end;
  95. { Object filing routines }
  96. procedure RegisterIntegerConsts(IntegerType: Pointer; IdentToInt: TIdentToInt;
  97. IntToIdent: TIntToIdent);
  98. begin
  99. end;
  100. function IdentToInt(const Ident: string; var Int: Longint; const Map: array of TIdentMapEntry): Boolean;
  101. begin
  102. end;
  103. function IntToIdent(Int: Longint; var Ident: string; const Map: array of TIdentMapEntry): Boolean;
  104. begin
  105. end;
  106. function InitInheritedComponent(Instance: TComponent; RootAncestor: TClass): Boolean;
  107. begin
  108. end;
  109. function InitComponentRes(const ResName: string; Instance: TComponent): Boolean;
  110. begin
  111. end;
  112. function ReadComponentRes(const ResName: string; Instance: TComponent): TComponent;
  113. begin
  114. end;
  115. function ReadComponentResEx(HInstance: THandle; const ResName: string): TComponent;
  116. begin
  117. end;
  118. function ReadComponentResFile(const FileName: string; Instance: TComponent): TComponent;
  119. begin
  120. end;
  121. procedure WriteComponentResFile(const FileName: string; Instance: TComponent);
  122. begin
  123. end;
  124. procedure GlobalFixupReferences;
  125. begin
  126. end;
  127. procedure GetFixupReferenceNames(Root: TComponent; Names: TStrings);
  128. begin
  129. end;
  130. procedure GetFixupInstanceNames(Root: TComponent;
  131. const ReferenceRootName: string; Names: TStrings);
  132. begin
  133. end;
  134. procedure RedirectFixupReferences(Root: TComponent; const OldRootName,
  135. NewRootName: string);
  136. begin
  137. end;
  138. procedure RemoveFixupReferences(Root: TComponent; const RootName: string);
  139. begin
  140. end;
  141. procedure RemoveFixups(Instance: TPersistent);
  142. begin
  143. end;
  144. procedure BeginGlobalLoading;
  145. begin
  146. end;
  147. procedure NotifyGlobalLoading;
  148. begin
  149. end;
  150. procedure EndGlobalLoading;
  151. begin
  152. end;
  153. function CollectionsEqual(C1, C2: TCollection): Boolean;
  154. begin
  155. end;
  156. { Object conversion routines }
  157. procedure ObjectBinaryToText(Input, Output: TStream);
  158. begin
  159. end;
  160. procedure ObjectTextToBinary(Input, Output: TStream);
  161. begin
  162. end;
  163. procedure ObjectResourceToText(Input, Output: TStream);
  164. begin
  165. end;
  166. procedure ObjectTextToResource(Input, Output: TStream);
  167. begin
  168. end;
  169. { Utility routines }
  170. function LineStart(Buffer, BufPos: PChar): PChar;
  171. begin
  172. end;
  173. {
  174. $Log$
  175. Revision 1.3 1998-06-03 15:10:20 michael
  176. + added include of util.inc
  177. Revision 1.2 1998/05/04 14:30:11 michael
  178. * Split file according to Class; implemented dummys for all methods, so unit compiles.
  179. Revision 1.9 1998/05/04 12:16:01 florian
  180. + Initial revisions after making a new directory structure
  181. Revision 1.8 1998/05/04 11:20:13 florian
  182. + Write* and Read* methods to TStream added
  183. * small problems solved
  184. Revision 1.7 1998/05/04 09:39:51 michael
  185. + Started implementation of TList
  186. Revision 1.6 1998/05/01 22:17:19 florian
  187. + TBits implemented
  188. + TStream partial implemented
  189. Revision 1.5 1998/05/01 17:53:12 florian
  190. * now it compiles with FPC
  191. Revision 1.4 1998/04/28 11:47:00 florian
  192. * more adaptions to FPC
  193. Revision 1.3 1998/04/27 12:55:57 florian
  194. + uses objpas added
  195. Revision 1.2 1998/04/27 09:09:49 michael
  196. + Added log at the end
  197. }
  198. {
  199. $Log$
  200. Revision 1.3 1998-06-03 15:10:20 michael
  201. + added include of util.inc
  202. Revision 1.2 1998/05/04 14:30:11 michael
  203. * Split file according to Class; implemented dummys for all methods, so unit compiles.
  204. Revision 1.1 1998/05/04 12:16:01 florian
  205. + Initial revisions after making a new directory structure
  206. }