source: trunk/Packages/CoolWeb/WebServer/WebPage.pas

Last change on this file was 151, checked in by chronos, 9 months ago
File size: 630 bytes
Line 
1unit WebPage;
2
3interface
4
5uses
6 Classes, SysUtils, HTTPServer, Controls;
7
8type
9 TOnProduceEvent = procedure(HandlerData: THTTPHandlerData) of object;
10
11 { TWebPage }
12
13 TWebPage = class(TDataModule)
14 private
15 FCaption: string;
16 FOnProduce: TOnProduceEvent;
17 FRaw: Boolean;
18 published
19 property Raw: Boolean read FRaw write FRaw;
20 property Caption: string read FCaption write FCaption;
21 property OnProduce: TOnProduceEvent read FOnProduce write FOnProduce;
22 end;
23
24 TWebPageClass = class of TWebPage;
25
26procedure Register;
27
28
29implementation
30
31procedure Register;
32begin
33 RegisterNoIcon([TWebPage]);
34end;
35
36end.
37
Note: See TracBrowser for help on using the repository browser.