summaryrefslogtreecommitdiff
path: root/include/m_chat.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-29 16:24:08 +0000
commite4709ec279fe4e531d33154c3b833a715cf56fbc (patch)
tree4f4183bc7486783e0fd6f6c10f5ce370c01468a8 /include/m_chat.h
parentc70673812db722c68caef569e2c299f5462b9c13 (diff)
removing TCHAR + WCHAR from headers
git-svn-id: http://svn.miranda-ng.org/main/trunk@17146 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_chat.h')
-rw-r--r--include/m_chat.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/include/m_chat.h b/include/m_chat.h
index ae034350be..c7a26dbbd1 100644
--- a/include/m_chat.h
+++ b/include/m_chat.h
@@ -587,18 +587,18 @@ struct GCHOOK
// contains info on a menuitem to be added
struct gc_item {
- TCHAR *pszDesc; // Textual description of the menu item to add
- DWORD dwID; // when/if the user selects this menu item this
+ wchar_t *pszDesc; // Textual description of the menu item to add
+ DWORD dwID; // when/if the user selects this menu item this
// value will be returned via the above hook, GC_USER_LOGMENU
// or GC_USER_NICKLISTMENU. Must not be 0 and must be unique.
- int uType; // What kind of menu item is it? Use MENU_* flags above
- BOOL bDisabled; // should the menu item be shown as disabled
+ int uType; // What kind of menu item is it? Use MENU_* flags above
+ BOOL bDisabled; // should the menu item be shown as disabled
};
typedef struct {
LPSTR pszModule; // Contains the protocol name, do NOT change.
- LPTSTR pszID; // The unique identifier of the session that triggered the hook, do NOT change.
- LPTSTR pszUID; // Contains the unique identifier if Type = MENU_ON_NICKLIST. do NOT change.
+ LPWSTR pszID; // The unique identifier of the session that triggered the hook, do NOT change.
+ LPWSTR pszUID; // Contains the unique identifier if Type = MENU_ON_NICKLIST. do NOT change.
int Type; // Type of menu. MENU_ON_* flags used. do NOT change.
int nItems; // Set this to the number of menu items you want to add
gc_item *Item; // pointer to the first in the array of gc_item's
@@ -628,8 +628,8 @@ typedef struct {
//////////////////////////////////////////////////////////////////////////
// Get Chat ToolTip Text for buddy
-// wParam = (WPARAM)(TCHAR*) roomID parentdat->ptszID
-// lParam = (WPARAM)(TCHAR*) userID ui1->pszUID
-// result (int)(TCHAR*)mir_tstrdup("tooltip text")
+// wParam = (WPARAM)(wchar_t*) roomID parentdat->ptszID
+// lParam = (WPARAM)(wchar_t*) userID ui1->pszUID
+// result (int)(wchar_t*)mir_tstrdup("tooltip text")
// returns pointer to text of tooltip and starts owns it
#define MS_GC_PROTO_GETTOOLTIPTEXT "/GetChatToolTipText"