From 179f34e621e0c847e262abeea06c65bb83ffdbd5 Mon Sep 17 00:00:00 2001 From: aunsane Date: Tue, 1 May 2018 00:33:11 +0300 Subject: CloudFile: fix for #1315 --- plugins/ExternalAPI/m_cloudfile.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'plugins/ExternalAPI') 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" -- cgit v1.2.3