Componentes.Terceros.DevExp.../official/x.30/ExpressWeb Framework/Demos/Delphi/WebChartProDemo/WebChartProData.pas

36 lines
717 B
ObjectPascal
Raw Permalink Normal View History

unit WebChartProData;
interface
uses SysUtils, Classes, HTTPApp, cxWebModule, cxWebAppSrv;
type
TWebChartProDataMod = class(TcxWebHomeDataModule)
private
{ Private declarations }
public
{ Public declarations }
end;
function WebChartProDataMod: TWebChartProDataMod;
implementation
{$R *.DFM}
uses
WebReq, WebCntxt, cxWebModFact, Variants;
function WebChartProDataMod: TWebChartProDataMod;
begin
Result := TWebChartProDataMod(WebContext.FindModuleClass(TWebChartProDataMod));
end;
initialization
if WebRequestHandler <> nil then
WebRequestHandler.AddWebModuleFactory(TcxWebHomeDataModuleFactory.Create(TWebChartProDataMod, caDestroy));
end.