summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/common.h
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2012-05-17 17:55:09 +0000
committerKirill Volinsky <mataes2007@gmail.com>2012-05-17 17:55:09 +0000
commit63f7ce43702041ddd8fff7fad46ebc2cc707e3f4 (patch)
treecc0038cff23f565913cb30e19bea21fc35852695 /plugins/NewXstatusNotify/common.h
parentb9ebd4a1028a3392d8467bbc06919bb2c3d18d08 (diff)
add NewXstatusNotify mod
git-svn-id: http://svn.miranda-ng.org/main/trunk@22 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/NewXstatusNotify/common.h')
-rw-r--r--plugins/NewXstatusNotify/common.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/plugins/NewXstatusNotify/common.h b/plugins/NewXstatusNotify/common.h
index 070bd2a15c..67892f1d72 100644
--- a/plugins/NewXstatusNotify/common.h
+++ b/plugins/NewXstatusNotify/common.h
@@ -92,15 +92,12 @@
#define GENDER_MALE 1
#define GENDER_FEMALE 2
-#define NOTIFY_INTERVAL_JABBER 2000
-#define NOTIFY_INTERVAL_ICQ 5000
-
#define ID_STATUS_FROMOFFLINE 1
#define ID_STATUS_EXTRASTATUS 40081
#define ID_STATUS_MIN ID_STATUS_OFFLINE
#define ID_STATUS_MAX ID_STATUS_OUTTOLUNCH
-#define ID_STATUS_MAX2 ID_STATUS_EXTRASTATUS
-#define STATUS_COUNT ID_STATUS_MAX2 - ID_STATUS_MIN + 1
+#define ID_STATUS_MAX2 ID_STATUS_EXTRASTATUS + 1
+#define STATUS_COUNT ID_STATUS_MAX2 - ID_STATUS_MIN
#define Index(ID_STATUS) ID_STATUS - ID_STATUS_OFFLINE
#define COLOR_BG_AVAILDEFAULT RGB(173,206,247)
@@ -137,6 +134,15 @@ typedef struct tagPLUGINDATA
HANDLE hAwayMsgHook;
} PLUGINDATA;
+typedef struct {
+ HANDLE hContact;
+ TCHAR *cust;
+ TCHAR *oldstatusmsg;
+ TCHAR *newstatusmsg;
+ char *proto;
+ int compare;
+} STATUSMSGINFO;
+
/*
HANDLE hContact = (HANDLE)wParam;
WORD oldStatus = LOWORD(lParam);
@@ -149,4 +155,6 @@ Cast them to (int) if you need them that way.
#define MS_STATUSCHANGE_MENUCOMMAND "NewStatusNotify/EnableDisableMenuCommand"
+#define TMR_CONNECTIONTIMEOUT 10000
+
#endif //COMMON_H