summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src/clist_extra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState/src/clist_extra.cpp')
-rw-r--r--plugins/MessageState/src/clist_extra.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/MessageState/src/clist_extra.cpp b/plugins/MessageState/src/clist_extra.cpp
deleted file mode 100644
index 01a0f52739..0000000000
--- a/plugins/MessageState/src/clist_extra.cpp
+++ /dev/null
@@ -1,21 +0,0 @@
-#include "stdafx.h"
-
-HANDLE hExtraIcon = nullptr;
-
-int ExtraIconsApply(WPARAM hContact, LPARAM force)
-{
- if (hContact != NULL) {
- if (HasUnread(hContact) || force)
- ExtraIcon_SetIcon(hExtraIcon, hContact, Icons[ICON_EXTRA].hIcolib);
- else
- ExtraIcon_Clear(hExtraIcon, hContact);
- }
-
- return 0;
-}
-
-void InitClistExtraIcon()
-{
- hExtraIcon = ExtraIcon_RegisterIcolib("messagestate_unread", LPGEN("MessageState unread extra icon"), "clist_unread_icon");
- HookEvent(ME_CLIST_EXTRA_IMAGE_APPLY, ExtraIconsApply);
-}