#include <filetransfer.h>
Inheritance diagram for MSN::FileTransferInvitation:
Public Member Functions | |
FileTransferInvitation (Invitation::ApplicationType application_, std::string cookie_, Passport otherUser_, SwitchboardServerConnection *switchboardConnection_, std::string fileName_, long unsigned fileSize_, void *userData_=NULL) | |
Create a new FileTransferInvitation. | |
virtual void | invitationWasAccepted (const std::string &body) |
The remote side accepted our file transfer. | |
virtual void | invitationWasCanceled (const std::string &body) |
The remote side canceled our file transfer. | |
void | acceptTransfer (const std::string &destinationFile) |
The user wishes to accept the file transfer, and have the file written to destinationFile. | |
void | rejectTransfer () |
The user wishes to decline the file transfer. | |
void | cancelTransfer () |
The user wishes to cancel the file transfer. | |
Public Attributes | |
std::string | fileName |
The name of the file that is being transferred. | |
long unsigned | fileSize |
The size in bytes of the file that is being transferred. | |
void * | userData |
A pointer to user-specified data that can be used to identify this transfer. |
|
Create a new FileTransferInvitation.
|
|
The user wishes to accept the file transfer, and have the file written to destinationFile.
|
|
The user wishes to cancel the file transfer.
|
|
The remote side accepted our file transfer. Notify calling code. Implements MSN::Invitation. |
|
The remote side canceled our file transfer. Notify calling code. Implements MSN::Invitation. |
|
The user wishes to decline the file transfer.
|
|
The name of the file that is being transferred.
|
|
The size in bytes of the file that is being transferred.
|
|
A pointer to user-specified data that can be used to identify this transfer.
|