Changeset 91 for trunk/Packages/CoolWeb/WebServer/UWebApp.pas
- Timestamp:
- Sep 7, 2012, 8:36:13 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/CoolWeb/WebServer/UWebApp.pas
r84 r91 23 23 function FindByName(Name: string): TRegistredPage; 24 24 procedure RegisterPage(PageClass: TWebPageClass; out Reference; Path: string); 25 procedure UnregisterPage(Path: string); 25 26 function ProducePage(HandlerData: THTTPHandlerData): Boolean; 26 27 end; … … 119 120 end; 120 121 122 procedure TPageList.UnregisterPage(Path: string); 123 var 124 Page: TRegistredPage; 125 begin 126 Page := FindByName(Path); 127 Remove(Page); 128 end; 129 121 130 function TPageList.ProducePage(HandlerData: THTTPHandlerData): Boolean; 122 131 var
Note:
See TracChangeset
for help on using the changeset viewer.