Ignore:
Timestamp:
Apr 3, 2012, 7:28:01 AM (12 years ago)
Author:
chronos
Message:
  • Modified: Code related to persistence layer abstraction moved to separated package PersistentData.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.