source: branches/test1/Client/Common/URemote.pas

Last change on this file was 46, checked in by chronos, 13 years ago
File size: 1.3 KB
Line 
1unit URemote;
2
3{$mode delphi}
4
5interface
6
7uses
8 Classes, SysUtils;
9
10type
11
12 { TRemoteObject }
13
14 TRemoteObject = class
15 Id: Integer;
16 procedure Load;
17 procedure Store;
18 end;
19
20 { TRemoteList }
21
22 TRemoteList = class
23 private
24 function GetCount: Integer;
25 function GetItem(Index: Integer): TObject;
26 procedure SetCount(AValue: Integer);
27 procedure SetItem(Index: Integer; AValue: TObject);
28 public
29 procedure Delete(Index: Integer);
30 procedure Add(Item: TObject);
31 procedure Insert(Index: Integer; Item: TObject);
32 property Items[Index: Integer]: TObject read GetItem write SetItem;
33 property Count: Integer read GetCount write SetCount;
34 end;
35
36implementation
37
38{ TRemoteObject }
39
40procedure TRemoteObject.Load;
41begin
42
43end;
44
45procedure TRemoteObject.Store;
46begin
47
48end;
49
50{ TRemoteList }
51
52function TRemoteList.GetCount: Integer;
53begin
54
55end;
56
57function TRemoteList.GetItem(Index: Integer): TObject;
58begin
59
60end;
61
62procedure TRemoteList.SetCount(AValue: Integer);
63begin
64
65end;
66
67procedure TRemoteList.SetItem(Index: Integer; AValue: TObject);
68begin
69
70end;
71
72procedure TRemoteList.Delete(Index: Integer);
73begin
74
75end;
76
77procedure TRemoteList.Add(Item: TObject);
78begin
79
80end;
81
82procedure TRemoteList.Insert(Index: Integer; Item: TObject);
83begin
84
85end;
86
87end.
88
Note: See TracBrowser for help on using the repository browser.