diff options
author | George Hazan <ghazan@miranda.im> | 2019-01-18 23:14:19 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-01-18 23:14:19 +0300 |
commit | c2e2c85262148dcf71450dfd3c7b33ef41eb84ec (patch) | |
tree | fe21b2d7677f955168dee25b4fea722dcd06c924 /plugins/NewEventNotify/src/popup.cpp | |
parent | e3bea6d9c261c87d7f67ecc06392c0d0cd4fe2dc (diff) |
code cleaning
- ACKTYPE_URL removed;
- PF1_URL removed;
- IEED_EVENT_URL removed;
- another URL-related code cleaning
Diffstat (limited to 'plugins/NewEventNotify/src/popup.cpp')
-rw-r--r-- | plugins/NewEventNotify/src/popup.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp index 6a371aa8c4..43ca3d2e27 100644 --- a/plugins/NewEventNotify/src/popup.cpp +++ b/plugins/NewEventNotify/src/popup.cpp @@ -189,14 +189,6 @@ static wchar_t* GetEventPreview(DBEVENTINFO *dbei) commentFix = POPUP_COMMENT_MESSAGE;
break;
- case EVENTTYPE_URL:
- // url
- if (dbei->pBlob) comment2 = mir_a2u((char *)dbei->pBlob);
- // comment
- if (dbei->pBlob) comment1 = mir_a2u((char *)dbei->pBlob + mir_strlen((char *)dbei->pBlob) + 1);
- commentFix = POPUP_COMMENT_URL;
- break;
-
case EVENTTYPE_FILE:
if (dbei->pBlob) {
char *p = (char*)dbei->pBlob + sizeof(DWORD);
@@ -398,15 +390,6 @@ int PopupShow(MCONTACT hContact, MEVENT hEvent, UINT eventType) sampleEvent = TranslateT("This is a sample message event :-)");
break;
- case EVENTTYPE_URL:
- if (!(g_plugin.maskNotify & MASK_URL)) return 1;
- pudw.lchIcon = Skin_LoadIcon(SKINICON_EVENT_URL);
- pudw.colorBack = g_plugin.bDefaultColorUrl ? 0 : g_plugin.colBackUrl;
- pudw.colorText = g_plugin.bDefaultColorUrl ? 0 : g_plugin.colTextUrl;
- iSeconds = g_plugin.iDelayUrl;
- sampleEvent = TranslateT("This is a sample URL event ;-)");
- break;
-
case EVENTTYPE_FILE:
if (!(g_plugin.maskNotify & MASK_FILE)) return 1;
pudw.lchIcon = Skin_LoadIcon(SKINICON_EVENT_FILE);
@@ -579,7 +562,6 @@ int PopupUpdate(MCONTACT hContact, MEVENT hEvent) int PopupPreview()
{
PopupShow(0, 0, EVENTTYPE_MESSAGE);
- PopupShow(0, 0, EVENTTYPE_URL);
PopupShow(0, 0, EVENTTYPE_FILE);
PopupShow(0, 0, -1);
return 0;
|