diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-03-07 19:41:15 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-03-07 19:41:15 +0000 |
commit | 3997c1912c9ef57697452f357b02b10b8f5bc6a7 (patch) | |
tree | 06003caf27213aa4bd5ecaf36992b03037c7b1b3 /plugins/Dropbox/src/file_transfer.h | |
parent | 370996a4a7ced75fe363bc1c3eb34f77f5d7aee1 (diff) |
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
Diffstat (limited to 'plugins/Dropbox/src/file_transfer.h')
-rw-r--r-- | plugins/Dropbox/src/file_transfer.h | 9 |
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)
{
|