Changeset 28 for trunk/Application
- Timestamp:
- Nov 23, 2011, 7:17:55 PM (13 years ago)
- Location:
- trunk/Application
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/UChronisClient.pas
r27 r28 9 9 10 10 type 11 TChronisClient = class; 12 11 13 TOrderDirection = (odNone, odAscending, odDescending); 12 14 13 { T Condition}15 { TQuery } 14 16 15 TCondition = class 17 TQuery = class 18 Client: TChronisClient; 16 19 OrderColumn: string; 17 20 OrderDirection: TOrderDirection; … … 20 23 PageItemCount: Integer; 21 24 PageUse: Boolean; 22 Columns : TListString;23 Columms Use: Boolean;25 ColumnsFilter: TListString; 26 ColummsFilterUse: Boolean; 24 27 constructor Create; 25 28 destructor Destroy; override; 29 procedure Execute; virtual; 26 30 end; 27 31 … … 33 37 34 38 TChronisClient = class 35 procedure GetItemList(Model: string; Condition: TCondition; ItemList: TItemList); virtual; abstract;36 procedure SetItemList(Model: string; Condition: TCondition; ItemList: TItemList); virtual; abstract;39 //procedure GetItemList(Model: string; Condition: TCondition; ItemList: TItemList); virtual; abstract; 40 //procedure SetItemList(Model: string; Condition: TCondition; ItemList: TItemList); virtual; abstract; 37 41 constructor Create; virtual; 38 42 end; … … 40 44 implementation 41 45 46 { TQuery } 47 48 constructor TQuery.Create; 49 begin 50 51 end; 52 53 destructor TQuery.Destroy; 54 begin 55 inherited Destroy; 56 end; 57 58 procedure TQuery.Execute; 59 begin 60 61 end; 62 42 63 { TChronisClient } 43 64 44 65 constructor TChronisClient.Create; 45 66 begin 46 47 end;48 49 50 { TCondition }51 52 constructor TCondition.Create;53 begin54 Columns := TListString.Create;55 end;56 57 destructor TCondition.Destroy;58 begin59 Columns.Free;60 inherited Destroy;61 67 end; 62 68 -
trunk/Application/UChronisClientDirect.pas
r27 r28 14 14 TChronisClientDirect = class(TChronisClient) 15 15 Server: TChronisServer; 16 procedure GetItemList(Condition: TCondition; ItemList: TItemList); override;17 procedure SetItemList(Condition: TCondition; ItemList: TItemList); override;16 //procedure GetItemList(Condition: TCondition; ItemList: TItemList); override; 17 //procedure SetItemList(Condition: TCondition; ItemList: TItemList); override; 18 18 constructor Create; override; 19 19 destructor Destroy; override; … … 24 24 { TChronisClientDirect } 25 25 26 procedure TChronisClientDirect.GetItemList(Condition: TCondition;26 (*procedure TChronisClientDirect.GetItemList(Condition: TCondition; 27 27 ItemList: TItemList); 28 28 begin … … 34 34 begin 35 35 inherited SetItemList(Condition, ItemList); 36 end; 36 end;*) 37 37 38 38 constructor TChronisClientDirect.Create;
Note:
See TracChangeset
for help on using the changeset viewer.