4f2340eba9
git-svn-id: http://code.remobjects.com/svn/pascalscript@39 5c9d2617-0215-0410-a2ee-e80e04d1c6d8
68 lines
1.7 KiB
ObjectPascal
68 lines
1.7 KiB
ObjectPascal
unit PascalScript_Core_Reg;
|
|
|
|
{----------------------------------------------------------------------------
|
|
/ RemObjects Pascal Script
|
|
/
|
|
/ compiler: Delphi 2 and up, Kylix 3 and up
|
|
/ platform: Win32, Linux
|
|
/
|
|
/ (c)opyright RemObjects Software. all rights reserved.
|
|
/
|
|
----------------------------------------------------------------------------}
|
|
|
|
{$I PascalScript.inc}
|
|
|
|
interface
|
|
|
|
{$IFNDEF FPC}
|
|
{$R PascalScript_Core_Glyphs.res}
|
|
{$ENDIF}
|
|
|
|
procedure Register;
|
|
|
|
implementation
|
|
|
|
uses
|
|
Classes,
|
|
{$IFDEF FPC}
|
|
LResources,
|
|
{$ENDIF}
|
|
uPSComponent,
|
|
uPSComponentExt,
|
|
uPSDebugger,
|
|
uPSComponent_Default,
|
|
{$IFNDEF FPC}
|
|
uPSComponent_COM,
|
|
{$ENDIF}
|
|
uPSComponent_DB,
|
|
uPSComponent_Forms,
|
|
uPSComponent_Controls,
|
|
uPSComponent_StdCtrls;
|
|
|
|
procedure Register;
|
|
begin
|
|
RegisterComponents('Pascal Script', [TPSScript,
|
|
TPSScriptDebugger,
|
|
TPSDllPlugin,
|
|
TPSImport_Classes,
|
|
TPSImport_DateUtils,
|
|
{$IFNDEF FPC}
|
|
TPSImport_ComObj,
|
|
{$ENDIF}
|
|
TPSImport_DB,
|
|
TPSImport_Forms,
|
|
TPSImport_Controls,
|
|
TPSImport_StdCtrls,
|
|
TPSScriptExtension,
|
|
TPSCustumPlugin]);
|
|
end;
|
|
|
|
|
|
{$IFDEF FPC}
|
|
initialization;
|
|
{$i pascalscript.lrs}
|
|
{$ENDIF}
|
|
|
|
|
|
end.
|