source: branches/CpuSingleSize/Forms/FormStorage.pas

Last change on this file was 238, checked in by chronos, 16 months ago
  • Modified: Removed U prefix from unit names.
  • Fixed: Memory leaks.
File size: 618 bytes
Line 
1unit FormStorage;
2
3interface
4
5uses
6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ComCtrls, Machine;
7
8type
9
10 { TFormStorage }
11
12 TFormStorage = class(TFormDevice)
13 ListView1: TListView;
14 protected
15 function GetDevice: TDevice; override;
16 procedure SetDevice(AValue: TDevice); override;
17 public
18 Storage: TDeviceStorage;
19 end;
20
21
22implementation
23
24{$R *.lfm}
25
26{ TFormStorage }
27
28function TFormStorage.GetDevice: TDevice;
29begin
30 Result := Storage;
31end;
32
33procedure TFormStorage.SetDevice(AValue: TDevice);
34begin
35 if AValue is TDeviceStorage then
36 Storage := TDeviceStorage(AValue);
37end;
38
39end.
40
Note: See TracBrowser for help on using the repository browser.