Abstract interface to listen to Context-related events. More...
#include <Coherent/UI/ViewContext.h>
Public Member Functions | |
virtual void | ContextReady ()=0 |
Called when the context is fully initialized. Creating Views is now permitted. | |
virtual void | OnError (const ContextError &) |
Called when an error in the context occurs. | |
virtual bool | OnDownloadStarted (Download *downloadItem) |
Called when the context tries to start a new download. Return true to allow for the download to begin or false to cancel it. | |
virtual void | OnDownloadComplete (Download *downloadItem, const char *data, unsigned size) |
Called when a download is complete. | |
virtual void | OnDownloadFailed (Download *downloadItem, DownloadErrorType error) |
Called when a download has failed. | |
virtual void | OnSubscriptionCheckDone (const SubscriptionError &) |
Called when the check for the subscription version of the product is completed. | |
virtual void | OnCookiesSaved (const wchar_t *cookiesResource) |
Called when the write request for the cookies resource was completed. | |
Abstract interface to listen to Context-related events.