reader.inc 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392
  1. {
  2. $Id$
  3. This file is part of the Free Component Library (FCL)
  4. Copyright (c) 1999-2000 by the Free Pascal development team
  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. {* TREADER *}
  13. {****************************************************************************}
  14. Procedure TReader.CheckValue(Value: TValueType);
  15. begin
  16. end;
  17. Procedure TReader.DoFixupReferences;
  18. begin
  19. end;
  20. Procedure TReader.FreeFixups;
  21. begin
  22. end;
  23. Function TReader.GetPosition: Longint;
  24. begin
  25. GetPosition:=0;
  26. end;
  27. Procedure TReader.PropertyError;
  28. begin
  29. end;
  30. Procedure TReader.ReadBuffer;
  31. begin
  32. end;
  33. Procedure TReader.ReadData(Instance: TComponent);
  34. begin
  35. end;
  36. Procedure TReader.ReadDataInner(Instance: TComponent);
  37. begin
  38. end;
  39. Procedure TReader.ReadProperty(AInstance: TPersistent);
  40. begin
  41. end;
  42. Procedure TReader.ReadPropValue(Instance: TPersistent; PropInfo: Pointer);
  43. begin
  44. end;
  45. Function TReader.ReadSet(SetType: Pointer): Integer;
  46. begin
  47. ReadSet:=0;
  48. end;
  49. Procedure TReader.SetPosition(Value: Longint);
  50. begin
  51. end;
  52. Procedure TReader.SkipSetBody;
  53. begin
  54. end;
  55. Procedure TReader.SkipValue;
  56. begin
  57. end;
  58. Procedure TReader.SkipProperty;
  59. begin
  60. end;
  61. Procedure TReader.SkipComponent(SkipHeader: Boolean);
  62. begin
  63. end;
  64. Function TReader.Error(const Message: string): Boolean;
  65. begin
  66. Error:=false;
  67. end;
  68. Function TReader.FindMethod(ARoot: TComponent; const AMethodName: string): Pointer;
  69. begin
  70. FindMethod:=nil;
  71. end;
  72. Procedure TReader.SetName(Component: TComponent; var Name: string);
  73. begin
  74. end;
  75. Procedure TReader.ReferenceName(var Name: string);
  76. begin
  77. end;
  78. Function TReader.FindAncestorComponent(const Name: string;
  79. ComponentClass: TPersistentClass): TComponent;
  80. begin
  81. FindAncestorComponent:=nil;
  82. end;
  83. destructor TReader.Destroy;
  84. begin
  85. end;
  86. Procedure TReader.BeginReferences;
  87. begin
  88. end;
  89. Procedure TReader.DefineProperty(const Name: string;
  90. rd : TReaderProc; wd : TWriterProc;
  91. HasData: Boolean);
  92. begin
  93. end;
  94. Procedure TReader.DefineBinaryProperty(const Name: string;
  95. rd, wd: TStreamProc;
  96. HasData: Boolean);
  97. begin
  98. end;
  99. Function TReader.EndOfList: Boolean;
  100. begin
  101. EndOfList:=false;
  102. end;
  103. Procedure TReader.EndReferences;
  104. begin
  105. end;
  106. Procedure TReader.FixupReferences;
  107. begin
  108. end;
  109. Procedure TReader.FlushBuffer;
  110. begin
  111. end;
  112. Function TReader.NextValue: TValueType;
  113. begin
  114. NextValue:=vaNull;
  115. end;
  116. Procedure TReader.Read(var Buf; Count: Longint);
  117. begin
  118. end;
  119. Function TReader.ReadBoolean: Boolean;
  120. begin
  121. ReadBoolean:=false;
  122. end;
  123. Function TReader.ReadChar: Char;
  124. begin
  125. ReadChar:=#0;
  126. end;
  127. Procedure TReader.ReadCollection(Collection: TCollection);
  128. begin
  129. end;
  130. Function TReader.ReadComponent(Component: TComponent): TComponent;
  131. begin
  132. ReadComponent:=nil;
  133. end;
  134. Procedure TReader.ReadComponents(AOwner, AParent: TComponent;
  135. Proc: TReadComponentsProc);
  136. begin
  137. end;
  138. Function TReader.ReadFloat: Extended;
  139. begin
  140. ReadFloat:=0.0;
  141. end;
  142. Function TReader.ReadIdent: string;
  143. begin
  144. ReadIdent:='';
  145. end;
  146. Function TReader.ReadInteger: Longint;
  147. begin
  148. ReadInteger:=0;
  149. end;
  150. Procedure TReader.ReadListBegin;
  151. begin
  152. end;
  153. Procedure TReader.ReadListEnd;
  154. begin
  155. end;
  156. Procedure TReader.ReadPrefix(var Flags: TFilerFlags; var AChildPos: Integer);
  157. begin
  158. end;
  159. Function TReader.ReadRootComponent(ARoot: TComponent): TComponent;
  160. begin
  161. ReadRootComponent:=nil;
  162. end;
  163. Procedure TReader.ReadSignature;
  164. begin
  165. end;
  166. Function TReader.ReadStr: string;
  167. begin
  168. ReadStr:='';
  169. end;
  170. Function TReader.ReadString: string;
  171. begin
  172. ReadString:='';
  173. end;
  174. Function TReader.ReadValue: TValueType;
  175. begin
  176. ReadValue:=vaNull;
  177. end;
  178. Procedure TReader.CopyValue(Writer: TWriter); {!!!}
  179. begin
  180. end;
  181. {
  182. $Log$
  183. Revision 1.6 2000-01-07 01:24:33 peter
  184. * updated copyright to 2000
  185. Revision 1.5 2000/01/06 01:20:33 peter
  186. * moved out of packages/ back to topdir
  187. Revision 1.2 2000/01/04 18:07:16 michael
  188. + Streaming implemented
  189. Revision 1.3 1999/09/13 08:35:16 fcl
  190. * Changed some argument names (Root->ARoot etc.) because the new compiler
  191. now performs more ambiguity checks (sg)
  192. Revision 1.2 1999/04/08 10:18:54 peter
  193. * makefile updates
  194. }