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