diff options
author | aunsane <aunsane@gmail.com> | 2018-05-01 00:33:11 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-05-01 00:33:11 +0300 |
commit | 179f34e621e0c847e262abeea06c65bb83ffdbd5 (patch) | |
tree | 4390714c8afdbb1eb99288f595d99464dfe2b81d /plugins/ExternalAPI | |
parent | 11c2c06d4a603956a51349b3f0c5b7e0eabe744a (diff) |
CloudFile: fix for #1315
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_cloudfile.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/ExternalAPI/m_cloudfile.h b/plugins/ExternalAPI/m_cloudfile.h index b7dee2f51b..24a82a63c9 100644 --- a/plugins/ExternalAPI/m_cloudfile.h +++ b/plugins/ExternalAPI/m_cloudfile.h @@ -29,9 +29,14 @@ struct CFUPLOADDATA const wchar_t *serverFolder; // server folder in witch file will be placed (can be NULL) }; +struct CFUPLOADRESULT +{ + char *link; // link to file in cloud service (needs to be freed) +}; + // upload file on cloud service // wParam = (WPARAM)(const CFUPLOADDATA*)uploadData -// lParam = (LPARAM)(char*)link to file in cloud service (needs to be freed) (can be NULL) +// lParam = (LPARAM)(const CFUPLOADRESULT*)uploadResult (can be NULL) // returns 0 on success, nonzero on failure #define MS_CLOUDFILE_UPLOAD "CloudFile/Upload" |