From a0a667fd07e912b1dc425748e58a72fa9a50512f Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Tue, 11 Mar 2014 14:19:01 +0000 Subject: Dropbox: - fixed TabSrmm button behavior - added ME_DROPBOX_SEND_SUCCEEDED and ME_DROPBOX_SEND_FAILED events - remained only unicode version of MS_DROPBOX_SEND_FILE - minor fixes - version bumped git-svn-id: http://svn.miranda-ng.org/main/trunk@8557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/ExternalAPI/m_dropbox.h | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'plugins/ExternalAPI/m_dropbox.h') diff --git a/plugins/ExternalAPI/m_dropbox.h b/plugins/ExternalAPI/m_dropbox.h index 5077f488af..a4ff665006 100644 --- a/plugins/ExternalAPI/m_dropbox.h +++ b/plugins/ExternalAPI/m_dropbox.h @@ -3,16 +3,19 @@ //upload file on Dropbox //wParam = (MCONTACT)hContact -//lParam = (LPARAM)(const char*)szPath -//returns 0 on success or nonzero on failure -//returns immediately, before the file or folder is uploaded +//lParam = (LPARAM)(const wchar_t*)path - full path to file +// returns file htansfer handle or NULL on failure +// returns immediately, without waiting for the send #define MS_DROPBOX_SEND_FILE "Dropbox/Send/File" -//upload file on Dropbox -//wParam = (MCONTACT)hContact -//lParam = (LPARAM)(const wchar_t*)wszPath -//returns 0 on success or nonzero on failure -//returns immediately, before the file or folder is uploaded -#define MS_DROPBOX_SEND_FILEW "Dropbox/Send/FileW" +// notifies a caller about file send end +// wParam = (MCONTACT)hContact +// lParam = (LPARAM)(const wchar_t*)url - "\r\n" separated download link to file +#define ME_DROPBOX_SEND_SUCCEEDED "Dropbox/Send/Succeeded" + +// notifies a caller about file send failure +// wParam = (MCONTACT)hContact +// lParam = (LPARAM)(HANDLE)hProcess +#define ME_DROPBOX_SEND_FAILED "Dropbox/Send/Failed" #endif //M_DROPBOX_H_ \ No newline at end of file -- cgit v1.2.3