added tbufdataset from Joost (issue #15936)

git-svn-id: trunk@23892 -
This commit is contained in:
vincents 2010-03-09 15:48:35 +00:00
parent 9b74172c98
commit 9ecad4ac11
5 changed files with 849 additions and 806 deletions

1
.gitattributes vendored
View File

@ -3715,6 +3715,7 @@ images/components/tasyncprocess.png -text
images/components/tbarchart.png -text svneol=unset#image/png
images/components/tbevel.png -text svneol=unset#image/png
images/components/tbitbtn.png -text svneol=unset#image/png
images/components/tbufdataset.png -text svneol=unset#image/png
images/components/tbutton.png -text svneol=unset#image/png
images/components/tbuttonpanel.png -text svneol=unset#image/png
images/components/tcalcedit.png -text svneol=unset#image/png

Binary file not shown.

After

Width:  |  Height:  |  Size: 709 B

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@ components/tasyncprocess.png
components/tbarchart.png
components/tbevel.png
components/tbitbtn.png
components/tbufdataset.png
components/tbutton.png
components/tbuttonpanel.png
components/tcalcedit.png

View File

@ -39,7 +39,7 @@ interface
uses
LazarusPackageIntf,
Classes, SysUtils, Process, DB, SimpleIPC, XMLCfg, EventLog;
Classes, SysUtils, Process, DB, BufDataset, SimpleIPC, XMLCfg, EventLog;
procedure Register;
@ -52,7 +52,12 @@ end;
procedure RegisterDB;
begin
RegisterComponents('Data Access',[TDatasource]);
RegisterComponents('Data Access',[TDatasource
// Only for fpc version 2.4.1 and above
{$IFNDEF VER2_4_0}
,TBufDataset
{$ENDIF}
]);
end;
procedure RegisterSimpleIPC;