summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraunsane <aunsane@gmail.com>2017-04-28 20:51:57 +0300
committeraunsane <aunsane@gmail.com>2017-04-28 21:00:26 +0300
commit908059e124a7a45b37e85253bddac5217b46e98a (patch)
tree4ff93a5023dd41bc797945537ea51bbfc4f9b1e2
parent72ff17b7779541d67465eb0495756e3bc13b6082 (diff)
Dropbox: MIID for Dropbox
-rw-r--r--plugins/Dropbox/src/main.cpp4
-rw-r--r--plugins/ExternalAPI/m_dropbox.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Dropbox/src/main.cpp b/plugins/Dropbox/src/main.cpp
index ebd39e61bb..033ca11032 100644
--- a/plugins/Dropbox/src/main.cpp
+++ b/plugins/Dropbox/src/main.cpp
@@ -17,7 +17,7 @@ PLUGININFOEX pluginInfo =
__COPYRIGHT,
__AUTHORWEB,
UNICODE_AWARE,
- // {B908773A-86F7-4A91-8674-6A20BA0E67D1}
+ // {B908773A-86F7-4A91-8674-6A20BA0E67D1}
{ 0xb908773a, 0x86f7, 0x4a91, { 0x86, 0x74, 0x6a, 0x20, 0xba, 0xe, 0x67, 0xd1 } }
};
@@ -34,6 +34,8 @@ 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/ExternalAPI/m_dropbox.h b/plugins/ExternalAPI/m_dropbox.h
index 3d2eacae5e..656c95d010 100644
--- a/plugins/ExternalAPI/m_dropbox.h
+++ b/plugins/ExternalAPI/m_dropbox.h
@@ -1,6 +1,8 @@
#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 TCHAR *localPath; // local path