From 8d0758286e5d0220647355a218a4c94f70591e6f Mon Sep 17 00:00:00 2001 From: aunsane Date: Sun, 11 Mar 2018 22:59:22 +0300 Subject: CloudFile: Dropbox OAuth with miranda-ng redirect uri --- plugins/CloudFile/src/utils.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'plugins/CloudFile/src/utils.cpp') diff --git a/plugins/CloudFile/src/utils.cpp b/plugins/CloudFile/src/utils.cpp index 24559827ef..b2a515fe94 100644 --- a/plugins/CloudFile/src/utils.cpp +++ b/plugins/CloudFile/src/utils.cpp @@ -95,3 +95,15 @@ void PasteToClipboard(const wchar_t *data) CloseClipboard(); } } + +void Report(MCONTACT hContact, const wchar_t *data) +{ + if (db_get_b(NULL, MODULE, "UrlAutoSend", 1)) + SendToContact(hContact, data); + + if (db_get_b(NULL, MODULE, "UrlPasteToMessageInputArea", 0)) + PasteToInputArea(hContact, data); + + if (db_get_b(NULL, MODULE, "UrlCopyToClipboard", 0)) + PasteToClipboard(data); +} -- cgit v1.2.3