Response that the application should use when the resource stream has been created You can keep a reference to this object as long as needed and call Finish afterwards. More...
Public Types | |
enum | Status { Success, Failure } |
Public Member Functions | |
virtual | ~IAsyncResourceStreamResponse () |
virtual void | SetStreamReader (ISyncStreamReader *reader)=0 |
Set the ISyncStreamReader instance for the requested resource. More... | |
virtual void | Finish (Status status)=0 |
Call when the resource stream has been loaded or the load failed. After this call the object is invalidated. NB: It's not safe to call any method on this interface after Finish. More... | |
Protected Member Functions | |
IAsyncResourceStreamResponse () | |
Response that the application should use when the resource stream has been created You can keep a reference to this object as long as needed and call Finish afterwards.
|
protected |
|
virtual |
|
pure virtual |
Call when the resource stream has been loaded or the load failed. After this call the object is invalidated. NB: It's not safe to call any method on this interface after Finish.
|
pure virtual |
Set the ISyncStreamReader instance for the requested resource.