Changeset 254 for Network/CoolWeb/WebServer/UWebPage.pas
- Timestamp:
- Jul 20, 2011, 10:25:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Network/CoolWeb/WebServer/UWebPage.pas
r237 r254 6 6 7 7 uses 8 Classes, SysUtils ;8 Classes, SysUtils, UHTTPServer, Controls; 9 9 10 10 type 11 TOnProduceEvent = procedure of object;11 TOnProduceEvent = procedure(HandlerData: THTTPHandlerData) of object; 12 12 13 13 { TWebPage } 14 14 15 TWebPage = class(T Component)15 TWebPage = class(TDataModule) 16 16 private 17 FCaption: string; 17 18 FOnProduce: TOnProduceEvent; 18 19 published 20 property Caption: string read FCaption write FCaption; 19 21 property OnProduce: TOnProduceEvent read FOnProduce write FOnProduce; 20 22 end; 21 23 24 25 TWebPageClass = class of TWebPage; 26 27 procedure Register; 28 29 22 30 implementation 31 32 procedure Register; 33 begin 34 RegisterNoIcon([TWebPage]); 35 end; 23 36 24 37 end.
Note:
See TracChangeset
for help on using the changeset viewer.