From 35d50950b5c60523f5a4a4959ee5e5a370ceabef Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Tue, 9 Jun 2015 11:38:48 +0000 Subject: MessageState: Initial commit. git-svn-id: http://svn.miranda-ng.org/main/trunk@14072 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/MessageState/src/global.h | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 plugins/MessageState/src/global.h (limited to 'plugins/MessageState/src/global.h') 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 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 -- cgit v1.2.3