source: oup/current/FileClasses/_EmptyFile.pas@ 214

Last change on this file since 214 was 214, checked in by alloc, 17 years ago
File size: 641 bytes
RevLine 
[212]1unit _EmptyFile;
2
3interface
4
5uses
6 _FileTypes;
7
8type
9 TFile_Empty = class(TFile)
10 protected
11 procedure InitDatLinks; override;
[214]12 procedure InitRawList; override;
13 public
[212]14 procedure InitDataFields; override;
15 end;
16
17implementation
18
19uses
20 ConnectionManager, Math, Classes, TypeDefs, _DataTypes;
21
22procedure TFile_Empty.InitDataFields;
23begin
[214]24 inherited;
[212]25 FDataFields := TBlock.Create(Self, nil, 0, 'Base', '', nil);
26end;
27
28
29procedure TFile_Empty.InitDatLinks;
30begin
31 SetLength(FDatLinks, 0);
32end;
33
34
35procedure TFile_Empty.InitRawList;
36begin
37 SetLength(FRawParts, 0);
38end;
39
40end.
41
Note: See TracBrowser for help on using the repository browser.