From 908059e124a7a45b37e85253bddac5217b46e98a Mon Sep 17 00:00:00 2001 From: aunsane Date: Fri, 28 Apr 2017 20:51:57 +0300 Subject: Dropbox: MIID for Dropbox --- plugins/Dropbox/src/main.cpp | 4 +++- plugins/ExternalAPI/m_dropbox.h | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3