Changeset 52 for trunk/Client/Forms


Ignore:
Timestamp:
Apr 3, 2012, 7:28:01 AM (13 years ago)
Author:
chronos
Message:
  • Modified: Code related to persistence layer abstraction moved to separated package PersistentData.
Location:
trunk/Client/Forms
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Client/Forms/UFormItemAdd.pas

    r46 r52  
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
    99  StdCtrls, Spin, EditBtn, MaskEdit, USqlDatabase, USystem,
    10   SpecializedDictionary, SpecializedList, UChronisClient;
     10  SpecializedDictionary, SpecializedList, UPDClient;
    1111
    1212type
  • trunk/Client/Forms/UFormItemEdit.pas

    r49 r52  
    88  Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
    99  StdCtrls, Spin, EditBtn, USqlDatabase, MaskEdit, ComCtrls, USystem,
    10   SpecializedList, SpecializedDictionary, UChronisClient;
     10  SpecializedList, SpecializedDictionary, UPDClient;
    1111
    1212type
  • trunk/Client/Forms/UFormLoginProfile.pas

    r50 r52  
    1010
    1111type
    12   TConnectProtocol = (cpXMLRPC, cpDirect, cpMySQL);
     12  TConnectProtocol = (cpXMLRPC, cpDirect, cpMySQL, cpINI, cpRegistry, cpSQLLite);
    1313
    1414  { TConnectProfile }
  • trunk/Client/Forms/UFormMain.pas

    r50 r52  
    9292uses
    9393  UFormItemView, UFormItemEdit, UFormItemAdd, UFormLogin, UFormSetting, UApplicationInfo,
    94   UCore, UFormImportStructure, UFormAbout, UFormLoginProfile, UChronisClientDirect,
    95   UChronisClient, UChronisClientMySQL, UChronisClientXMLRPC, UFormMenu;
     94  UCore, UFormImportStructure, UFormAbout, UFormLoginProfile, UPDClientIni,
     95  UPDClient, UPDClientMySQL, UPDClientXMLRPC, UFormMenu, UPDClientRegistry;
    9696
    9797{$R *.lfm}
     
    241241      with TConnectProfile(Core.Profiles[Core.LastProfile]) do begin
    242242        FreeAndNil(Core.System.Client);
    243         if Protocol = cpMySQL then Core.System.Client := TChronisClientMySQL.Create
    244           else if Protocol = cpDirect then Core.System.Client := TChronisClientDirect.Create
    245           else if Protocol = cpXMLRPC then Core.System.Client := TChronisClientXMLRPC.Create;
     243        if Protocol = cpMySQL then Core.System.Client := TPDClientMySQL.Create
     244          //else if Protocol = cpDirect then Core.System.Client := TPDClientDirect.Create
     245          else if Protocol = cpXMLRPC then Core.System.Client := TPDClientXMLRPC.Create
     246          else if Protocol = cpINI then Core.System.Client := TPDClientIni.Create
     247          else if Protocol = cpRegistry then Core.System.Client := TPDClientRegistry.Create;
    246248        Core.System.Client.Host := HostName;
    247249        Core.System.Client.Schema := Database;
  • trunk/Client/Forms/UFormMenu.pas

    r49 r52  
    5454
    5555uses
    56   UFormMain, USystem, UChronisClient, UChronisClientMySQL, UCore;
     56  UFormMain, USystem, UPDClient, UCore;
    5757
    5858procedure TFormMenu.TreeViewMenuChange(Sender: TObject; Node: TTreeNode);
Note: See TracChangeset for help on using the changeset viewer.