mirror of
https://github.com/moparisthebest/Simba
synced 2024-11-25 10:42:20 -05:00
9d6c4ee850
git-svn-id: http://www.villavu.com/repositories/merlijn/mufasa@58 3f818213-9676-44b0-a9b4-5e4c4e03d09d
39 lines
714 B
ObjectPascal
39 lines
714 B
ObjectPascal
|
|
unit uPSComponent_COM;
|
|
|
|
interface
|
|
uses
|
|
SysUtils, Classes, uPSComponent, uPSCompiler, uPSRuntime;
|
|
type
|
|
|
|
TPSImport_ComObj = class(TPSPlugin)
|
|
private
|
|
public
|
|
procedure CompileImport1(CompExec: TPSScript); override;
|
|
procedure ExecImport1(CompExec: TPSScript; const ri: TPSRuntimeClassImporter); override;
|
|
end;
|
|
|
|
TIFPS3CE_ComObj = class(TPSImport_ComObj);
|
|
|
|
implementation
|
|
uses
|
|
uPSC_comobj,
|
|
uPSR_comobj;
|
|
|
|
|
|
{ TPSImport_ComObj }
|
|
|
|
procedure TPSImport_ComObj.CompileImport1(CompExec: TPSScript);
|
|
begin
|
|
SIRegister_ComObj(CompExec.Comp);
|
|
end;
|
|
|
|
|
|
procedure TPSImport_ComObj.ExecImport1(CompExec: TPSScript;
|
|
const ri: TPSRuntimeClassImporter);
|
|
begin
|
|
RIRegister_ComObj(CompExec.Exec);
|
|
end;
|
|
|
|
end.
|