Class that will handle all asynchronous resource requests. More...
Public Member Functions | |
virtual | ~IAsyncResourceHandler () |
virtual void | OnResourceRequest (const cohtml::IAsyncResourceRequest *request, cohtml::IAsyncResourceResponse *response)=0 |
Called when Cohtml needs a resource. More... | |
virtual void | OnResourceStreamRequest (const cohtml::IAsyncResourceRequest *request, cohtml::IAsyncResourceStreamResponse *response)=0 |
Called when Cohtml needs a resource stream. More... | |
virtual void | OnAbortResourceRequest (unsigned id)=0 |
Called when a requested resource is not needed anymore. More... | |
Protected Member Functions | |
IAsyncResourceHandler () | |
Class that will handle all asynchronous resource requests.
|
protected |
|
virtual |
|
pure virtual |
Called when a requested resource is not needed anymore.
id | the id associated with the resource request |
|
pure virtual |
Called when Cohtml needs a resource.
request | object describing the resource requested |
response | response object for result of loading the request |
|
pure virtual |
Called when Cohtml needs a resource stream.
request | object describing the resource requested |
response | response object for result of loading the request |