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