diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-25 14:24:53 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-25 14:24:53 +0300 |
commit | 9cca190bc3022311915eb1e95b3cc3bb89aed328 (patch) | |
tree | f0e27680e6dae1a0df044ae59ad86ccac59d0db7 /include/m_chat.h | |
parent | cf83f17e172253faf44737b8f4c27945e9f671e5 (diff) |
massive code cleaning:
- GCHOOK structure normalized (i.e. inlined SESSION_INFO fields replaced with a reference to SESSION_INFO);
- fake CMsgDialog declaration added to m_srmm_int.h, thus duplicated declarations in plugins aren't needed anymore
- other minor changes
Diffstat (limited to 'include/m_chat.h')
-rw-r--r-- | include/m_chat.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/m_chat.h b/include/m_chat.h index 6ea7a048ba..d3b91c1e3d 100644 --- a/include/m_chat.h +++ b/include/m_chat.h @@ -477,16 +477,13 @@ EXTERN_C MIR_APP_DLL(int) Chat_GetInfo(GC_INFO*); struct GCHOOK
{
- LPCSTR pszModule; // Name of the protocol (same as you registered with)
- LPCTSTR ptszID; // Unique identifier of the session, or NULL to broadcast to all sessions as specified above
int iType; // Use GC_EVENT_* as defined above. Only one event per service call.
-
LPTSTR ptszText; // usage depends on type of event
LPTSTR ptszUID; // unique identifier, usage depends on type of event
LPTSTR ptszNick; // user nick, as displayed in a nicklist
INT_PTR dwData; // user defined data, usage depends on type of event
- class CSrmmBaseDialog *pDlg; // dialog from which this event was called
+ SESSION_INFO *si; // session information
};
/*
|