mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:58:06 +02:00
moved ideintf/configstorage.pas to lcl/lazconfigstorage.pas
git-svn-id: trunk@9270 -
This commit is contained in:
parent
f720aa22c6
commit
8f6fad5537
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1281,7 +1281,6 @@ ideintf/componenteditors.pas svneol=native#text/pascal
|
||||
ideintf/componentreg.pas svneol=native#text/pascal
|
||||
ideintf/componenttreeview.lrs svneol=native#text/pascal
|
||||
ideintf/componenttreeview.pas svneol=native#text/pascal
|
||||
ideintf/configstorage.pas svneol=native#text/pascal
|
||||
ideintf/dbpropedits.pas svneol=native#text/pascal
|
||||
ideintf/fieldseditor.lfm svneol=native#text/plain
|
||||
ideintf/fieldseditor.lrs svneol=native#text/pascal
|
||||
@ -2295,6 +2294,7 @@ lcl/languages/lcl.plwin.po svneol=native#text/plain
|
||||
lcl/languages/lcl.po svneol=native#text/plain
|
||||
lcl/languages/lcl.ru.po svneol=native#text/plain
|
||||
lcl/languages/lcl.ua.po svneol=native#text/plain
|
||||
lcl/lazconfigstorage.pas svneol=native#text/pascal
|
||||
lcl/lazlinkedlist.pas svneol=native#text/pascal
|
||||
lcl/lclclasses.pp svneol=native#text/pascal
|
||||
lcl/lclicons.lrs svneol=native#text/pascal
|
||||
|
@ -23,7 +23,8 @@ unit LazChmHelp;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, HelpIntf, HelpManager, ConfigStorage, PropEdits, LHelpControl;
|
||||
Classes, SysUtils, HelpIntf, HelpManager, LazConfigStorage, PropEdits,
|
||||
LHelpControl;
|
||||
|
||||
type
|
||||
|
||||
|
@ -6,7 +6,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs,
|
||||
ProjectTemplates, ProjectIntf, LazIDEIntf;
|
||||
ProjectTemplates, ProjectIntf, BaseIDEIntf, LazIDEIntf;
|
||||
|
||||
type
|
||||
|
||||
@ -37,8 +37,8 @@ procedure Register;
|
||||
implementation
|
||||
|
||||
uses
|
||||
contnrs,frmTemplateSettings,frmtemplateVariables,ConfigStorage,newitemintf,
|
||||
menuintf,idecommands;
|
||||
ContNrs, frmTemplateSettings, frmTemplateVariables, LazConfigStorage,
|
||||
NewItemIntf, MenuIntf, IDECommands;
|
||||
|
||||
Var
|
||||
TemplateProjectDescriptor : TTemplateProjectDescriptor;
|
||||
|
@ -27,7 +27,8 @@ uses
|
||||
ExtCtrls, Dialogs, Menus,
|
||||
CodeToolManager, CodeCache,
|
||||
LazIDEIntf, ProjectIntf, ObjectInspector, PropEdits,
|
||||
DialogProcs, FileUtil, LazConf, ConfigStorage, LazarusIDEStrConsts;
|
||||
DialogProcs, FileUtil, LazConf, BaseIDEIntf, LazConfigStorage,
|
||||
LazarusIDEStrConsts;
|
||||
|
||||
type
|
||||
{ TOIAddRemoveFavouriteDlg }
|
||||
|
@ -38,7 +38,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, Dialogs, FileUtil, TextTools, MacroIntf,
|
||||
LazarusIDEStrConsts, ConfigStorage, HelpIntf, HelpHTML;
|
||||
LazarusIDEStrConsts, LazConfigStorage, HelpIntf, HelpHTML;
|
||||
|
||||
const
|
||||
lihcFPCMessages = 'FreePascal Compiler messages';
|
||||
|
@ -34,7 +34,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, Laz_XMLCfg, LCLProc, FileUtil,
|
||||
Forms, Controls, StdCtrls, Buttons, ConfigStorage,
|
||||
Forms, Controls, StdCtrls, Buttons, BaseIDEIntf, LazConfigStorage,
|
||||
LazConf, LazarusIDEStrConsts;
|
||||
|
||||
type
|
||||
|
@ -32,7 +32,7 @@ unit IDEProtocol;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, LazConf, ConfigStorage;
|
||||
Classes, SysUtils, LCLProc, LazConf, BaseIDEIntf, LazConfigStorage;
|
||||
|
||||
const
|
||||
IDEProtocolOptsVersion: integer = 1;
|
||||
|
@ -31,7 +31,7 @@ interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, Controls, FileUtil, Dialogs, HelpIntf,
|
||||
ConfigStorage, EnvironmentOpts, Laz_XMLCfg, IDEOptionDefs;
|
||||
LazConfigStorage, EnvironmentOpts, Laz_XMLCfg, IDEOptionDefs;
|
||||
|
||||
type
|
||||
|
||||
|
@ -21,10 +21,10 @@ interface
|
||||
|
||||
uses
|
||||
ActionsEditor,
|
||||
BaseIDEIntf,
|
||||
ComponentEditors,
|
||||
ComponentReg,
|
||||
ComponentTreeView,
|
||||
ConfigStorage,
|
||||
DBPropEdits,
|
||||
FieldsEditor,
|
||||
FormEditingIntf,
|
||||
|
@ -22,7 +22,7 @@ unit HelpHTML;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, Forms, Process, FileUtil, ConfigStorage,
|
||||
Classes, SysUtils, LCLProc, Forms, Process, FileUtil, LazConfigStorage,
|
||||
PropEdits, ObjInspStrConsts, MacroIntf, HelpIntf;
|
||||
|
||||
type
|
||||
|
@ -28,7 +28,7 @@ unit HelpIntf;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, LCLProc, Controls, FileUtil, ConfigStorage, MacroIntf,
|
||||
Classes, SysUtils, LCLProc, Controls, FileUtil, LazConfigStorage, MacroIntf,
|
||||
TextTools, ObjInspStrConsts;
|
||||
|
||||
type
|
||||
|
@ -23,7 +23,7 @@ unit IDEWindowIntf;
|
||||
interface
|
||||
|
||||
uses
|
||||
Classes, SysUtils, ConfigStorage, Forms, Controls;
|
||||
Classes, SysUtils, LazConfigStorage, Forms, Controls;
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
// layout settings of modal forms (dialogs) in the IDE
|
||||
|
@ -38,7 +38,7 @@ interface
|
||||
uses
|
||||
Forms, SysUtils, Buttons, Classes, Graphics, GraphType, StdCtrls, LCLType,
|
||||
LCLIntf, LCLProc, Controls, ComCtrls, ExtCtrls, TypInfo, LMessages,
|
||||
LResources, PairSplitter, ConfigStorage, Menus, Dialogs, ObjInspStrConsts,
|
||||
LResources, PairSplitter, LazConfigStorage, Menus, Dialogs, ObjInspStrConsts,
|
||||
PropEdits, GraphPropEdits, ListViewPropEdit, ImageListEditor,
|
||||
ComponentTreeView, ComponentEditors;
|
||||
|
||||
|
@ -36,7 +36,7 @@ uses
|
||||
StringHashList, ExtendedStrings, DynamicArray, UTrace, TextStrings,
|
||||
// base types and base functions
|
||||
LCLProc, LCLType, LCLResCache, GraphMath, FileCtrl, LMessages, LResources,
|
||||
FileUtil, Translations,
|
||||
FileUtil, Translations, LazConfigStorage,
|
||||
// the interface base
|
||||
InterfaceBase,
|
||||
IntfGraphics,
|
||||
|
@ -15,7 +15,7 @@
|
||||
Abstract:
|
||||
This unit defines various base classes for loading and saving of configs.
|
||||
}
|
||||
unit ConfigStorage;
|
||||
unit LazConfigStorage;
|
||||
|
||||
{$mode objfpc}{$H+}
|
||||
|
||||
@ -67,14 +67,6 @@ type
|
||||
|
||||
TConfigStorageClass = class of TConfigStorage;
|
||||
|
||||
TGetIDEConfigStorage = function(const Filename: string; LoadFromDisk: Boolean
|
||||
): TConfigStorage;
|
||||
|
||||
var
|
||||
DefaultConfigClass: TConfigStorageClass; // will be set by the IDE
|
||||
GetIDEConfigStorage: TGetIDEConfigStorage; // will be set by the IDE
|
||||
|
||||
|
||||
implementation
|
||||
|
||||
{ TConfigStorage }
|
||||
@ -173,8 +165,5 @@ begin
|
||||
FPathStack.Delete(FPathStack.Count-1);
|
||||
end;
|
||||
|
||||
initialization
|
||||
DefaultConfigClass:=nil;
|
||||
|
||||
end.
|
||||
|
@ -1073,7 +1073,7 @@ begin
|
||||
AddFile('componenteditors.pas','ComponentEditors',pftUnit,[],cpBase);
|
||||
AddFile('componentreg.pas','ComponentReg',pftUnit,[],cpBase);
|
||||
AddFile('componenttreeview.pas','ComponentTreeview',pftUnit,[],cpBase);
|
||||
AddFile('configstorage.pas','ConfigStorage',pftUnit,[],cpBase);
|
||||
AddFile('baseideintf.pas','BaseIDEIntf',pftUnit,[],cpBase);
|
||||
AddFile('dbpropedits.pas','DBPropEdits',pftUnit,[],cpBase);
|
||||
AddFile('fieldseditor.pas','FieldsEditor',pftUnit,[],cpBase);
|
||||
AddFile('formeditingintf.pas','FormEditingIntf',pftUnit,[],cpBase);
|
||||
|
Loading…
Reference in New Issue
Block a user