From ddba4ede6b451d0cfcd0d32b5180fbd0689966bf Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 10 Feb 2014 08:04:30 +0000 Subject: - HANDLE hContact => HCONTACT - GCF_* prefix was added to chat constants to avoid name conflicts git-svn-id: http://svn.miranda-ng.org/main/trunk@8078 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Spamotron/src/common.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Spamotron/src/common.h') diff --git a/plugins/Spamotron/src/common.h b/plugins/Spamotron/src/common.h index e8d0903b13..2e9501c0ff 100644 --- a/plugins/Spamotron/src/common.h +++ b/plugins/Spamotron/src/common.h @@ -42,7 +42,7 @@ #define _getOptD(a,b) _getCOptD(NULL, a, b) #define _setOptD(a,b) _setCOptD(NULL, a, b) -TCHAR* _getCOptS(TCHAR *buf, unsigned int buflen, HANDLE hContact, const char* option, const TCHAR *def); +TCHAR* _getCOptS(TCHAR *buf, unsigned int buflen, HCONTACT hContact, const char* option, const TCHAR *def); #define _getOptS(a,b,c,d) _getCOptS(a, b, NULL, c, d) #define _setCOptTS(a,b,c) db_set_ts(a, PLUGIN_NAME, b, c) #define _setCOptS(a,b,c) db_set_s(a, PLUGIN_NAME, b, c) @@ -105,11 +105,11 @@ BOOL _isvalidregex(TCHAR* strSearch); BOOL _regmatch(TCHAR* str, TCHAR* strSearch); BOOL Contains(TCHAR* dst, TCHAR* src); BOOL isOneDay(DWORD timestamp1, DWORD timestamp2); -void MarkUnread(HANDLE hContact); +void MarkUnread(HCONTACT hContact); -int ShowPopup(HANDLE hContact, BYTE popupType, TCHAR *line1, TCHAR *line2); +int ShowPopup(HCONTACT hContact, BYTE popupType, TCHAR *line1, TCHAR *line2); int ShowPopupPreview(HWND optDlg, BYTE popupType, TCHAR *line1, TCHAR *line2); -int _notify(HANDLE hContact, BYTE type, TCHAR *message, TCHAR *origmessage); +int _notify(HCONTACT hContact, BYTE type, TCHAR *message, TCHAR *origmessage); int LogToSystemHistory(char *message, char *origmessage); #define POPUP_DEFAULT 0 #define POPUP_BLOCKED 1 @@ -151,8 +151,8 @@ void learn_spam(TCHAR *msg); int get_token_count(int type); int get_msg_count(int type); double get_msg_score(TCHAR *msg); -void queue_message(HANDLE hContact, DWORD msgtime, TCHAR *message); -void bayes_approve_contact(HANDLE hContact); +void queue_message(HCONTACT hContact, DWORD msgtime, TCHAR *message); +void bayes_approve_contact(HCONTACT hContact); void dequeue_messages(); #ifdef _DEBUG -- cgit v1.2.3