summaryrefslogtreecommitdiff
path: root/plugins/NewXstatusNotify/common.h
diff options
context:
space:
mode:
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