Ignore:
Timestamp:
Nov 23, 2011, 7:17:55 PM (13 years ago)
Author:
george
Message:
  • Fixed: Compilation after last change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Application/UChronisClient.pas

    r27 r28  
    99
    1010type
     11  TChronisClient = class;
     12
    1113  TOrderDirection = (odNone, odAscending, odDescending);
    1214
    13   { TCondition }
     15  { TQuery }
    1416
    15   TCondition = class
     17  TQuery = class
     18    Client: TChronisClient;
    1619    OrderColumn: string;
    1720    OrderDirection: TOrderDirection;
     
    2023    PageItemCount: Integer;
    2124    PageUse: Boolean;
    22     Columns: TListString;
    23     ColummsUse: Boolean;
     25    ColumnsFilter: TListString;
     26    ColummsFilterUse: Boolean;
    2427    constructor Create;
    2528    destructor Destroy; override;
     29    procedure Execute; virtual;
    2630  end;
    2731
     
    3337
    3438  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;
    3741    constructor Create; virtual;
    3842  end;
     
    4044implementation
    4145
     46{ TQuery }
     47
     48constructor TQuery.Create;
     49begin
     50
     51end;
     52
     53destructor TQuery.Destroy;
     54begin
     55  inherited Destroy;
     56end;
     57
     58procedure TQuery.Execute;
     59begin
     60
     61end;
     62
    4263{ TChronisClient }
    4364
    4465constructor TChronisClient.Create;
    4566begin
    46 
    47 end;
    48 
    49 
    50 { TCondition }
    51 
    52 constructor TCondition.Create;
    53 begin
    54   Columns := TListString.Create;
    55 end;
    56 
    57 destructor TCondition.Destroy;
    58 begin
    59   Columns.Free;
    60   inherited Destroy;
    6167end;
    6268
Note: See TracChangeset for help on using the changeset viewer.