summaryrefslogtreecommitdiff
path: root/plugins/DropBox/src/dropbox_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/DropBox/src/dropbox_utils.cpp')
-rw-r--r--plugins/DropBox/src/dropbox_utils.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/plugins/DropBox/src/dropbox_utils.cpp b/plugins/DropBox/src/dropbox_utils.cpp
deleted file mode 100644
index caf4d9c980..0000000000
--- a/plugins/DropBox/src/dropbox_utils.cpp
+++ /dev/null
@@ -1,26 +0,0 @@
-#include "dropbox.h"
-
-void CDropbox::ShowNotification(const wchar_t *caption, const wchar_t *message, int flags, MCONTACT hContact)
-{
- if (Miranda_Terminated()) return;
-
- if (ServiceExists(MS_POPUP_ADDPOPUPT) && db_get_b(NULL, "Popup", "ModuleIsEnabled", 1))
- {
- POPUPDATAW ppd = {0};
- ppd.lchContact = hContact;
- wcsncpy(ppd.lpwzContactName, caption, MAX_CONTACTNAME);
- wcsncpy(ppd.lpwzText, message, MAX_SECONDLINE);
- ppd.lchIcon = Skin_GetIcon("Skype_main");
-
- if (!PUAddPopupW(&ppd))
- return;
-
- }
-
- MessageBox(NULL, message, caption, MB_OK | flags);
-}
-
-void CDropbox::ShowNotification(const wchar_t *message, int flags, MCONTACT hContact)
-{
- ShowNotification(TranslateT(MODULE), message, flags, hContact);
-} \ No newline at end of file