GOG GALAXY SDK Documentation
|
Listener for the event of downloading a shared file. More...
#include <IStorage.h>
Public Types | |
enum | FailureReason { FAILURE_REASON_UNDEFINED , FAILURE_REASON_CONNECTION_FAILURE } |
The reason of a failure in downloading a shared file. More... | |
Public Member Functions | |
virtual void | OnSharedFileDownloadSuccess (SharedFileID sharedFileID, const char *fileName)=0 |
Notification for the event of a success in downloading a shared file. More... | |
virtual void | OnSharedFileDownloadFailure (SharedFileID sharedFileID, FailureReason failureReason)=0 |
Notification for the event of a failure in downloading a shared file. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from GalaxyTypeAwareListener< SHARED_FILE_DOWNLOAD > | |
static ListenerType | GetListenerType () |
Returns the type of the listener. More... | |
Listener for the event of downloading a shared file.
enum FailureReason |
|
pure virtual |
Notification for the event of a failure in downloading a shared file.
[in] | sharedFileID | The ID of the file. |
[in] | failureReason | The cause of the failure. |
|
pure virtual |
Notification for the event of a success in downloading a shared file.
[in] | sharedFileID | The ID of the file. |
[in] | fileName | The name of the file in the form of a path (see the description of IStorage::FileWrite()). |