summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2018-03-01 00:10:16 +0300
committeraunsane <aunsane@gmail.com>2018-03-01 00:10:16 +0300
commit8ff9b20b9da000caee0705760144b9f47e3c9ef9 (patch)
treedf6ea9fb5ce2b9beb35d79a3fe1da3e5b439d9a4
parent77f131a927158e6131fdad1c94ad166e0048e318 (diff)
Removed old dropbox header #1144
-rw-r--r--plugins/CloudFile/src/main.cpp2
-rw-r--r--plugins/CloudFile/src/stdafx.h1
-rw-r--r--plugins/ExternalAPI/m_dropbox.h41
3 files changed, 0 insertions, 44 deletions
diff --git a/plugins/CloudFile/src/main.cpp b/plugins/CloudFile/src/main.cpp
index 6d83c5d98e..6ca530e9ce 100644
--- a/plugins/CloudFile/src/main.cpp
+++ b/plugins/CloudFile/src/main.cpp
@@ -28,8 +28,6 @@ extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD)
return &pluginInfo;
}
-extern "C" __declspec(dllexport) const MUUID MirandaInterfaces[] = { MIID_DROPBOX, MIID_LAST };
-
extern "C" int __declspec(dllexport) Load(void)
{
mir_getLP(&pluginInfo);
diff --git a/plugins/CloudFile/src/stdafx.h b/plugins/CloudFile/src/stdafx.h
index 4a32099991..e789c57360 100644
--- a/plugins/CloudFile/src/stdafx.h
+++ b/plugins/CloudFile/src/stdafx.h
@@ -31,7 +31,6 @@
#include <m_protosvc.h>
#include <m_cloudfile.h>
-#include <m_dropbox.h>
#include "version.h"
#include "resource.h"
diff --git a/plugins/ExternalAPI/m_dropbox.h b/plugins/ExternalAPI/m_dropbox.h
deleted file mode 100644
index e0061a74f0..0000000000
--- a/plugins/ExternalAPI/m_dropbox.h
+++ /dev/null
@@ -1,41 +0,0 @@
-#ifndef M_DROPBOX_H_
-#define M_DROPBOX_H_
-
-#define MIID_DROPBOX {0x9649d8e2, 0x7326, 0x4ec1, {0xb4, 0xa3, 0xf2, 0xec, 0x1a, 0x39, 0x84, 0x94}}
-
-struct DropboxUploadInfo
-{
- const wchar_t *localPath; // local path
- const wchar_t *serverFolder; // server folder in witch file will be placed (can be NULL)
-};
-
-// upload file on Dropbox
-// wParam = (WPARAM)(char**) '\r\n' separated download links (can be NULL, otherwise should be manually free)
-// lParam = (LPARAM)(const DropboxUploadInfo*)
-// returns status of transfer.
-// 0 on success otherwise fail
-#define MS_DROPBOX_UPLOAD "Dropbox/Upload"
-
-// upload file on Dropbox
-// wParam = 0
-// lParam = (LPARAM)(const DropboxUploadInfo*)
-// returns file transfer 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_UPLOADASYNC "Dropbox/UploadAsync"
-
-// if you want to get download links after upload
-// use ME_DROPBOX_UPLOADED hook. you'll get:
-struct DropboxUploadResult
-{
- HANDLE hProcess; // hProcess
- int status; // status of transfer. 0 on success otherwise fail
- const char* data; // '\r\n' separated download links
-};
-
-// notifies a caller that upload has been finished
-// wParam = 0
-// lParam = (LPARAM)(DropboxUploadResult*)
-#define ME_DROPBOX_UPLOADED "Dropbox/Uploaded"
-
-#endif //M_DROPBOX_H_ \ No newline at end of file