ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/oup/current/FileClasses/_EmptyFile.pas
(Generate patch)

Comparing oup/current/FileClasses/_EmptyFile.pas (file contents):
Revision 212 by alloc, Tue Jun 12 16:42:53 2007 UTC vs.
Revision 248 by alloc, Mon Nov 26 11:02:28 2007 UTC

# Line 6 | Line 6 | 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;
9 >  TFile_Empty = class(TResource)
10    end;
11  
12   implementation
13  
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
14   end.
15  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)