delphimvcframework/samples/servercontainer/WebModule02U.pas

33 lines
637 B
ObjectPascal
Raw Normal View History

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.