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

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