lcl: added TJSONPropStorage, issue #31388, from Gustavo Carreno

git-svn-id: trunk@54158 -
This commit is contained in:
mattias 2017-02-15 08:58:35 +00:00
parent 445c92af0c
commit 0d9788974a
8 changed files with 15 additions and 5 deletions

1
.gitattributes vendored
View File

@ -6550,6 +6550,7 @@ images/components/tidletimer.png -text svneol=unset#image/png
images/components/timage.png -text svneol=unset#image/png
images/components/timagelist.png -text svneol=unset#image/png
images/components/tinipropstorage.png -text svneol=unset#image/png
images/components/tjsonpropstorage.png -text svneol=unset#image/png
images/components/tlabel.png -text svneol=unset#image/png
images/components/tlabelededit.png -text svneol=unset#image/png
images/components/tlazcomponentqueue.png -text svneol=unset#image/png

View File

@ -82,6 +82,7 @@ Giulio Bernardi
GongYu
Graeme Geldenhuys
Grzegorz Zakrzewski
Gustavo Carreno
Hakan Kizilhan
Hans Luijten
Hans-Joachim Ott

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

View File

@ -63,6 +63,7 @@ components/tidletimer.png
components/timage.png
components/timagelist.png
components/tinipropstorage.png
components/tjsonpropstorage.png
components/tlabel.png
components/tlabelededit.png
components/tlazcomponentqueue.png

View File

@ -27,7 +27,7 @@ uses
LazDeviceApis, LDockTree, LazFreeTypeIntfDrawer, CustomDrawn_WinXP,
CustomDrawn_Android, Arrow, EditBtn, ComboEx, DBExtCtrls, CustomDrawn_Mac,
CalcForm, LCLTranslator, GroupedEdit, LCLTaskDialog, WSLazDeviceAPIS,
LCLPlatformDef, IndustrialBase, LazarusPackageIntf;
LCLPlatformDef, IndustrialBase, JSONPropStorage, LazarusPackageIntf;
implementation

View File

@ -6,7 +6,7 @@
This file was generated on 14-10-16
}
{$ifndef ALLPACKAGES}
{$ifndef ALLPACKAGES}
{$mode objfpc}{$H+}
program fpmake;
@ -72,6 +72,7 @@ begin
t.Dependencies.AddUnit('inipropstorage');
t.Dependencies.AddUnit('interfacebase');
t.Dependencies.AddUnit('intfgraphics');
t.Dependencies.AddUnit('jsonpropstorage');
t.Dependencies.AddUnit('lazhelphtml');
t.Dependencies.AddUnit('lazhelpintf');
t.Dependencies.AddUnit('lclclasses');
@ -186,6 +187,7 @@ begin
T:=P.Targets.AddUnit('inipropstorage.pas');
T:=P.Targets.AddUnit('interfacebase.pp');
T:=P.Targets.AddUnit('intfgraphics.pas');
T:=P.Targets.AddUnit('jsonpropstorage.pas');
T:=P.Targets.AddUnit('lazhelphtml.pas');
T:=P.Targets.AddUnit('lazhelpintf.pas');
T:=P.Targets.AddUnit('lclclasses.pp');
@ -275,7 +277,7 @@ begin
// copy the compiled file, so the IDE knows how the package was compiled
P.InstallFiles.Add('LCLBase.compiled',AllOSes,'$(unitinstalldir)');
// Added manually
// Added manually
P.InstallFiles.Add('cursors.res', '$(unitinstalldir)');
P.InstallFiles.Add('btn_icons.res', '$(unitinstalldir)');
P.InstallFiles.Add('dialog_icons.res', '$(unitinstalldir)');

View File

@ -27,7 +27,7 @@
<License Value="modified LGPL-2
"/>
<Version Major="1" Minor="7"/>
<Files Count="284">
<Files Count="285">
<Item1>
<Filename Value="checklst.pas"/>
<UnitName Value="CheckLst"/>
@ -1167,6 +1167,10 @@
<Filename Value="include/patternbitmap.inc"/>
<Type Value="Include"/>
</Item284>
<Item285>
<Filename Value="jsonpropstorage.pas"/>
<UnitName Value="JSONPropStorage"/>
</Item285>
</Files>
<LazDoc Paths="../docs/xml/lcl"/>
<i18n>

View File

@ -13,7 +13,7 @@ uses
LazarusPackageIntf, Menus, Buttons, StdCtrls, ExtCtrls, ComCtrls, MaskEdit,
CheckLst, Forms, Grids, Controls, Dialogs, Spin, Arrow, Calendar,
PairSplitter, ExtDlgs, StdActns, DbCtrls, DbExtCtrls, DBGrids, DBActns, EditBtn,
ActnList, FileCtrl, Graphics, XMLPropStorage, IniPropStorage,
ActnList, FileCtrl, Graphics, XMLPropStorage, IniPropStorage, JSONPropStorage,
ColorBox, ButtonPanel, LResources, LazHelpHTML, PopupNotifier, AsyncProcess,
UTF8Process, ShellCtrls, ValEdit, ComboEx;
@ -61,6 +61,7 @@ begin
RegisterUnit('ShellCtrls', @ShellCtrls.Register);
RegisterUnit('XMLPropStorage',@XMLPropStorage.Register);
RegisterUnit('IniPropStorage',@IniPropStorage.Register);
RegisterUnit('JSONPropStorage',@JSONPropStorage.Register);
end;
procedure RegisterLCLBase;