mirror of
https://github.com/danieleteti/delphimvcframework.git
synced 2024-11-15 15:55:54 +01:00
33 lines
637 B
ObjectPascal
33 lines
637 B
ObjectPascal
|
unit WebModule02U;
|
||
|
|
||
|
interface
|
||
|
|
||
|
uses
|
||
|
Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics,
|
||
|
Vcl.Controls, Vcl.Forms, Vcl.Dialogs, CustomWebModuleU, MVCFramework;
|
||
|
|
||
|
type
|
||
|
TWebModule02 = class(TCustomWebModule)
|
||
|
protected
|
||
|
procedure DoConfigureEngine(const aMVCEngine: TMVCEngine); override;
|
||
|
|
||
|
{ Private declarations }
|
||
|
public
|
||
|
{ Public declarations }
|
||
|
end;
|
||
|
|
||
|
implementation
|
||
|
|
||
|
{$R *.dfm}
|
||
|
|
||
|
uses App1MainControllerU;
|
||
|
{ TWebModule02 }
|
||
|
|
||
|
procedure TWebModule02.DoConfigureEngine(const aMVCEngine: TMVCEngine);
|
||
|
begin
|
||
|
inherited;
|
||
|
aMVCEngine.AddController(TApp1MainController);
|
||
|
end;
|
||
|
|
||
|
end.
|