| 1 |
unit _EmptyFile; |
| 2 |
|
| 3 |
interface |
| 4 |
|
| 5 |
uses |
| 6 |
_FileTypes; |
| 7 |
|
| 8 |
type |
| 9 |
TFile_Empty = class(TFile) |
| 10 |
protected |
| 11 |
procedure InitDatLinks; override; |
| 12 |
procedure InitDataFields; override; |
| 13 |
procedure InitRawList; override; |
| 14 |
end; |
| 15 |
|
| 16 |
implementation |
| 17 |
|
| 18 |
uses |
| 19 |
ConnectionManager, Math, Classes, TypeDefs, _DataTypes; |
| 20 |
|
| 21 |
procedure TFile_Empty.InitDataFields; |
| 22 |
begin |
| 23 |
FDataFields := TBlock.Create(Self, nil, 0, 'Base', '', nil); |
| 24 |
end; |
| 25 |
|
| 26 |
|
| 27 |
procedure TFile_Empty.InitDatLinks; |
| 28 |
begin |
| 29 |
SetLength(FDatLinks, 0); |
| 30 |
end; |
| 31 |
|
| 32 |
|
| 33 |
procedure TFile_Empty.InitRawList; |
| 34 |
begin |
| 35 |
SetLength(FRawParts, 0); |
| 36 |
end; |
| 37 |
|
| 38 |
end. |
| 39 |
|