summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src/global.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-06-09 11:38:48 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-06-09 11:38:48 +0000
commit35d50950b5c60523f5a4a4959ee5e5a370ceabef (patch)
tree8fa1791c935acba3d79dc4eb25d67622d61dbe58 /plugins/MessageState/src/global.h
parentbc5b5ca600ad9364aa50de6afe2bf92dc63e1420 (diff)
MessageState: Initial commit.
git-svn-id: http://svn.miranda-ng.org/main/trunk@14072 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MessageState/src/global.h')
-rw-r--r--plugins/MessageState/src/global.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/MessageState/src/global.h b/plugins/MessageState/src/global.h
new file mode 100644
index 0000000000..c3fac26cd7
--- /dev/null
+++ b/plugins/MessageState/src/global.h
@@ -0,0 +1,28 @@
+#ifndef _GLOBAL_H_
+#define _GLOBAL_H_
+
+static LIST<void> arMonitoredWindows(3, PtrKeySortT);
+
+static IconItem Icons[] =
+{
+ { LPGEN("Unreaded message icon"), "unread_icon", IDI_UNREAD },
+ { LPGEN("Readed message icon"), "read_icon", IDI_READ },
+ { LPGEN("Failed sending icon"), "fail_icon", IDI_FAIL },
+ { LPGEN("Sending message icon"), "nosent_icon", IDI_NOSENT }
+};
+
+enum SRMM_ICON_TYPE
+{
+ ICON_HIDDEN,
+ ICON_READED,
+ ICON_UNREADED,
+ ICON_FAILED,
+ ICON_NOSENT
+};
+
+#define FLAG_CONTAINS(x,y) ((x & y) == y)
+#define DBKEY_MESSAGE_READ_TIME "LastMsgReadTime"
+
+int OnModulesLoaded(WPARAM, LPARAM);
+
+#endif //_GLOBAL_H_ \ No newline at end of file