Changeset 28 for trunk/Application/UChronisClient.pas
- Timestamp:
- Nov 23, 2011, 7:17:55 PM (13 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.