diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2014-03-11 14:19:01 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2014-03-11 14:19:01 +0000 |
commit | a0a667fd07e912b1dc425748e58a72fa9a50512f (patch) | |
tree | 027b0ed27a5c3d697dd1aa51a13ca0d3e1375582 /plugins/ExternalAPI | |
parent | f8f38839dba925d30c09d9b1527258973c24e591 (diff) |
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
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r-- | plugins/ExternalAPI/m_dropbox.h | 21 |
1 files changed, 12 insertions, 9 deletions
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 |