summaryrefslogtreecommitdiff
path: root/plugins/ExternalAPI
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-03-04 16:59:35 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-03-04 16:59:35 +0000
commit6d02559b3c3cb05cfc6a0ade5c4815dda4427834 (patch)
tree1233d2f09a0c7e25c045ccae29edb6cc88e4efc4 /plugins/ExternalAPI
parent03c5cb9df33ae92ac85e045fd9c7c5b9adf294b3 (diff)
Dropbox: removed old service
git-svn-id: http://svn.miranda-ng.org/main/trunk@16420 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/ExternalAPI')
-rw-r--r--plugins/ExternalAPI/m_dropbox.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/plugins/ExternalAPI/m_dropbox.h b/plugins/ExternalAPI/m_dropbox.h
index f67a781086..feeb37181b 100644
--- a/plugins/ExternalAPI/m_dropbox.h
+++ b/plugins/ExternalAPI/m_dropbox.h
@@ -1,32 +1,10 @@
#ifndef M_DROPBOX_H_
#define M_DROPBOX_H_
-// upload file on Dropbox
-// wParam = (MCONTACT)hContact - NULL to send to the Dropbox contact
-// 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
-// note, that you can track progress by using ME_PROTO_ACK
-#define MS_DROPBOX_SEND_FILE "Dropbox/Send/File"
-
-// if you want to get download links of sent files
-// use ME_DROPBOX_SENT hook. you'll get:
-struct TRANSFERINFO
-{
- HANDLE hProcess; // hProcess
- int status; // status of transfer. 0 on success otherwise fail
- char** data; // NULL ended array of download links
-};
-
-// notifies a caller that file has been sent
-// wParam = (MCONTACT)hContact
-// lParam = (LPARAM)(TRANSFERINFO*)info - transfer info
-#define ME_DROPBOX_SENT "Dropbox/Sent/Event"
-
struct DropboxUploadInfo
{
const TCHAR *localPath; // local path
- const TCHAR *serverPath; // relative path on server (can be NULL)
+ const TCHAR *serverFolder; // server folder in witch file will be placed (can be NULL)
};
// upload file on Dropbox