From 3997c1912c9ef57697452f357b02b10b8f5bc6a7 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 7 Mar 2014 19:41:15 +0000 Subject: Dropbox: - code cleaning and reorganization - added "/help" command - more informative authorization request - version bumped git-svn-id: http://svn.miranda-ng.org/main/trunk@8456 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/file_transfer.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'plugins/Dropbox/src/file_transfer.h') 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) { -- cgit v1.2.3