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