mirror of
https://github.com/moparisthebest/Simba
synced 2024-12-15 20:12:21 -05:00
8d9a439d49
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@434 3f818213-9676-44b0-a9b4-5e4c4e03d09d
37 lines
676 B
ObjectPascal
37 lines
676 B
ObjectPascal
unit uPSComponent_DB;
|
|
|
|
interface
|
|
{$I PascalScript.inc}
|
|
uses
|
|
SysUtils, Classes, uPSComponent, uPSRuntime, uPSCompiler;
|
|
type
|
|
|
|
TPSImport_DB = class(TPSPlugin)
|
|
public
|
|
procedure CompileImport1(CompExec: TPSScript); override;
|
|
procedure ExecImport1(CompExec: TPSScript; const ri: TPSRuntimeClassImporter); override;
|
|
public
|
|
end;
|
|
|
|
TIFPS3CE_DB = class(TPSImport_DB);
|
|
|
|
implementation
|
|
uses
|
|
uPSC_DB,
|
|
uPSR_DB;
|
|
|
|
{ TPSImport_DB }
|
|
|
|
procedure TPSImport_DB.CompileImport1(CompExec: TPSScript);
|
|
begin
|
|
SIRegister_DB(CompExec.Comp);
|
|
end;
|
|
|
|
procedure TPSImport_DB.ExecImport1(CompExec: TPSScript;
|
|
const ri: TPSRuntimeClassImporter);
|
|
begin
|
|
RIRegister_DB(RI);
|
|
end;
|
|
|
|
end.
|