summaryrefslogtreecommitdiff
path: root/src/core/stdmsg/src/msglog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdmsg/src/msglog.cpp')
-rw-r--r--src/core/stdmsg/src/msglog.cpp19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/core/stdmsg/src/msglog.cpp b/src/core/stdmsg/src/msglog.cpp
index 4e69be9a09..7c9cfab101 100644
--- a/src/core/stdmsg/src/msglog.cpp
+++ b/src/core/stdmsg/src/msglog.cpp
@@ -21,8 +21,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
-extern IconItem iconList[];
-
#define LOGICON_MSG_IN 0
#define LOGICON_MSG_OUT 1
#define LOGICON_MSG_NOTICE 2
@@ -149,6 +147,23 @@ bool DbEventIsShown(const DB::EventInfo &dbei)
return dbei.eventType == EVENTTYPE_MESSAGE || dbei.eventType == EVENTTYPE_FILE || dbei.isSrmm();
}
+/////////////////////////////////////////////////////////////////////////////////////////
+// Log icons
+
+static IconItem iconList[] =
+{
+ {LPGEN("Incoming message (10x10)"), "INCOMING", IDI_INCOMING, 10},
+ {LPGEN("Outgoing message (10x10)"), "OUTGOING", IDI_OUTGOING, 10},
+ {LPGEN("Notice (10x10)"), "NOTICE", IDI_NOTICE, 10},
+ {LPGEN("Encrypted (10x10)"), "UNVERIFIED", IDI_SECURE, 10},
+ {LPGEN("Encrypted verified (10x10)"), "PRIVATE", IDI_SECURE_STRONG, 10},
+};
+
+void InitIcons(void)
+{
+ g_plugin.registerIcon(LPGEN("Messaging"), iconList, "SRMM");
+}
+
#define RTFPICTHEADERMAXSIZE 78
void LoadMsgLogIcons(void)
{