-
Notifications
You must be signed in to change notification settings - Fork 58
/
RegFIBPlus.pas
83 lines (66 loc) · 3.19 KB
/
RegFIBPlus.pas
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{***************************************************************}
{ FIBPlus - component library for direct access to Firebird and }
{ InterBase databases }
{ }
{ FIBPlus is based in part on the product }
{ Free IB Components, written by Gregory H. Deatz for }
{ Hoagland, Longo, Moran, Dunst & Doukas Company. }
{ mailto:gdeatz@hlmdd.com }
{ }
{ Copyright (c) 1998-2007 Devrace Ltd. }
{ Written by Serge Buzadzhy (buzz@devrace.com) }
{ }
{ ------------------------------------------------------------- }
{ FIBPlus home page: http://www.fibplus.com/ }
{ FIBPlus support : http://www.devrace.com/support/ }
{ ------------------------------------------------------------- }
{ }
{ Please see the file License.txt for full license information }
{***************************************************************}
unit RegFIBPlus;
interface
{$I FIBPlus.inc}
uses
Classes, Sysutils, DB, pFIBDataSet, pFIBDatabase, pFIBQuery, DSContainer,
pFIBSQLLog, SIBFIBEA, pFIBMetadata, pFIBDataRefresh, pFIBExports,
{$IFNDEF NO_MONITOR} FIBSQLMonitor, {$ENDIF} pFIBErrorHandler,
pFIBStoredProc, pFIBProps {$IFDEF INC_SERVICE_SUPPORT}, IB_Services {$ENDIF}
{$IFDEF IBINSTALL_SUPPORT}, IB_Install{$ENDIF};
procedure Register;
implementation
uses
{$IFNDEF NO_REGISTRY} RegUtils, {$ENDIF} FIBDataSet, FIBQuery, FIBDatabase,
SqlTxtRtns, StrUtil, PFIBDataInfo, PFIBScripter;
const
pnFIBPlus = 'FIBPlus';
pnFIBPlusServices = 'FIBPlusServices';
{$R fibplus.dcr}
procedure Register;
begin
RegisterClasses([TFIBIntegerField, TFIBSmallIntField, TFIBLargeIntField,
TFIBBCDField, TFIBFloatField, TFIBBooleanField, TFIBDateTimeField,
TFIBDateField, TFIBTimeField, TFIBGuidField, TFIBStringField,
TFIBWideStringField, TFIBBlobField, TFIBMemoField
{$IFDEF SUPPORT_ARRAY_FIELD}, TFIBArrayField{$ENDIF}
]);
RegisterFields([TFIBStringField, TFIBIntegerField, TFIBSmallIntField,
TFIBFloatField, TFIBBCDField, TFIBBooleanField, TFIBDateField,
TFIBTimeField, TFIBDateTimeField, TFIBWideStringField
]);
RegisterComponents(pnFIBPlus, [TpFIBDatabase, TpFIBDataSet, TpFIBTransaction,
TpFIBQuery, TpFIBStoredProc, TpFIBUpdateObject, TDataSetsContainer,
TpFibErrorHandler, TpFIBScripter, TpFIBDBSchemaExtract,
TpFIBTableChangesReader, TFIBSQLLogger, TSIBfibEventAlerter
{$IFNDEF NO_MONITOR}, TFIBSQLMonitor{$ENDIF}]);
{$IFDEF INC_SERVICE_SUPPORT}
RegisterComponents(pnFIBPlusServices, [TpFIBServerProperties,
TpFIBConfigService, TpFIBLicensingService, TpFIBLogService,
TpFIBStatisticalService, TpFIBBackupService, TpFIBRestoreService,
TpFIBValidationService, TpFIBSecurityService, TpFIBNBackupService,
TpFIBNRestoreService]);
{$ENDIF}
{$IFDEF IBINSTALL_SUPPORT}
RegisterComponents(pnFIBPlusServices, [TpFIBInstall, TpFIBUnInstall]);
{$ENDIF}
end;
end.