mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-23 17:52:16 -05:00
66 lines
1.5 KiB
ObjectPascal
66 lines
1.5 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,
|
|
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,
|
|
TPSCustumPlugin]);
|
|
end;
|
|
|
|
|
|
{$IFDEF FPC}
|
|
initialization;
|
|
{$i pascalscript.lrs}
|
|
{$ENDIF}
|
|
|
|
|
|
end.
|