diff options
author | aunsane <aunsane@gmail.com> | 2018-03-11 22:59:22 +0300 |
---|---|---|
committer | aunsane <aunsane@gmail.com> | 2018-03-11 22:59:22 +0300 |
commit | 8d0758286e5d0220647355a218a4c94f70591e6f (patch) | |
tree | 3c03ff78e0300fbd04309183592ba5505921ff2d /plugins/CloudFile/src/utils.cpp | |
parent | 5532fd4e1374c15c13e203a89b7cd060c7e15499 (diff) |
CloudFile: Dropbox OAuth with miranda-ng redirect uri
Diffstat (limited to 'plugins/CloudFile/src/utils.cpp')
-rw-r--r-- | plugins/CloudFile/src/utils.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
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); +} |