summaryrefslogtreecommitdiff
path: root/plugins/CloudFile/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-20 15:08:48 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-05-20 15:08:48 +0300
commit8a74e7495ce5ad39de4f5c25121a84d35df90c36 (patch)
tree03e5b4870f09a3163306740c2eebee47bc15b042 /plugins/CloudFile/src/utils.cpp
parentc5bf7d6123dd1c3b82ccb8fdb1b068077e9d56d4 (diff)
CMPlugin to receive a reference to PLUGININFOEX
Diffstat (limited to 'plugins/CloudFile/src/utils.cpp')
-rw-r--r--plugins/CloudFile/src/utils.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/CloudFile/src/utils.cpp b/plugins/CloudFile/src/utils.cpp
index cb9bb8bf94..22611fe539 100644
--- a/plugins/CloudFile/src/utils.cpp
+++ b/plugins/CloudFile/src/utils.cpp
@@ -21,13 +21,13 @@ void ShowNotification(const wchar_t *caption, const wchar_t *message, int flags,
void ShowNotification(const wchar_t *message, int flags, MCONTACT hContact)
{
- ShowNotification(_A2W(MODULE), message, flags, hContact);
+ ShowNotification(_A2W(MODULENAME), message, flags, hContact);
}
MEVENT AddEventToDb(MCONTACT hContact, WORD type, DWORD flags, DWORD cbBlob, PBYTE pBlob)
{
DBEVENTINFO dbei = {};
- dbei.szModule = MODULE;
+ dbei.szModule = MODULENAME;
dbei.timestamp = time(0);
dbei.eventType = type;
dbei.cbBlob = cbBlob;
@@ -102,12 +102,12 @@ void PasteToClipboard(const wchar_t *data)
void Report(MCONTACT hContact, const wchar_t *data)
{
- if (db_get_b(NULL, MODULE, "UrlAutoSend", 1))
+ if (db_get_b(NULL, MODULENAME, "UrlAutoSend", 1))
SendToContact(hContact, data);
- if (db_get_b(NULL, MODULE, "UrlPasteToMessageInputArea", 0))
+ if (db_get_b(NULL, MODULENAME, "UrlPasteToMessageInputArea", 0))
PasteToInputArea(hContact, data);
- if (db_get_b(NULL, MODULE, "UrlCopyToClipboard", 0))
+ if (db_get_b(NULL, MODULENAME, "UrlCopyToClipboard", 0))
PasteToClipboard(data);
}