Abstract interface that allows clients to provide their own file-handling functionality.
More...
#include <Coherent/UI/FileHandler.h>
Abstract interface that allows clients to provide their own file-handling functionality.
Requests to read a resource.
- Parameters
-
url | the coui url of the resource |
request | the request object for the resource. |
response | the response object for the resource |
- Note
- The url has been decoded - any %xx have been replaced by their original characters.
-
The |request| object is valid throughout the ReadFile call
-
The |response| object is valid until either its SignalSuccess or SignalFailure method is called.
- Parameters
-
response | the response to be filled with the resource data or notified for failure |
virtual void Coherent::UI::FileHandler::WriteFile |
( |
const wchar_t * |
url, |
|
|
ResourceData * |
resource |
|
) |
| |
|
pure virtual |
Request to write to a resource.
- Parameters
-
url | the coui url of the resource. |
- Note
- The url has been decoded - any %xx have been replaced by their original characters.
- Parameters
-
resource | the resource data that has to be written |