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 215 by alloc, Tue Jun 12 20:31:54 2007 UTC

# Line 7 | Line 7 | uses
7  
8   type
9    TFile_Empty = class(TFile)
10 <    protected
11 <      procedure InitDatLinks; override;
10 >    public
11        procedure InitDataFields; override;
13      procedure InitRawList; override;
12    end;
13  
14   implementation
# Line 20 | Line 18 | uses
18  
19   procedure TFile_Empty.InitDataFields;
20   begin
21 +  inherited;
22    FDataFields := TBlock.Create(Self, nil, 0, 'Base', '', nil);
23   end;
24  
25  
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
26   end.
27  

Diff Legend

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