summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/file_transfer.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Dropbox/src/file_transfer.h')
-rw-r--r--plugins/Dropbox/src/file_transfer.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/plugins/Dropbox/src/file_transfer.h b/plugins/Dropbox/src/file_transfer.h
index 1c0a511e47..a4d76b548b 100644
--- a/plugins/Dropbox/src/file_transfer.h
+++ b/plugins/Dropbox/src/file_transfer.h
@@ -3,18 +3,21 @@
#include "common.h"
-struct FileTransfer
+struct FileTransferParam
{
HANDLE hProcess;
MCONTACT hContact;
+ CDropbox *instance;
PROTOFILETRANSFERSTATUS pfts;
int totalFolders;
char **pszFolders;
int relativePathStart;
- FileTransfer()
+ FileTransferParam(CDropbox *instance)
{
+ this->instance = instance;
+
totalFolders = 0;
pszFolders = NULL;
relativePathStart = 0;
@@ -32,7 +35,7 @@ struct FileTransfer
pfts.wszCurrentFile = NULL;
}
- ~FileTransfer()
+ ~FileTransferParam()
{
if (pfts.pszFiles)
{