source: trunk/Demo/Packages/CoolWeb/WebServer/UWebPage.pas

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