summaryrefslogtreecommitdiff
path: root/include/m_chat_int.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-09 23:27:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-09 23:27:40 +0300
commit063a61cf745e1c51f4c9791d03832740f7dc0347 (patch)
tree960bae1ec8b3869c561cf95e9717c01dd08c735b /include/m_chat_int.h
parentf3ff9ad5341bb0b0a0453e61a2d419e8c02f14b0 (diff)
- GCSessionInfoBase fields iWidth and iHeight moved to StdMSg;
- CHAT_MANAGER methods DoEventHook & DoEventHookAsync removed from CHAT_API; - CSrmmBaseDialog::DoEventHook introduced instead
Diffstat (limited to 'include/m_chat_int.h')
-rw-r--r--include/m_chat_int.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 1b28c454ab..5ca6c8f021 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -48,7 +48,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#define GC_SETVISIBILITY (WM_USER+107)
#define GC_SETWNDPROPS (WM_USER+108)
#define GC_REDRAWLOG (WM_USER+109)
-#define GC_FIREHOOK (WM_USER+110)
#define GC_FILTERFIX (WM_USER+111)
#define GC_CHANGEFILTERFLAG (WM_USER+112)
#define GC_SHOWFILTERMENU (WM_USER+113)
@@ -168,9 +167,9 @@ struct USERINFO
{
wchar_t* pszNick;
wchar_t* pszUID;
- WORD Status;
- int iStatusEx;
- WORD ContactStatus;
+ WORD Status;
+ int iStatusEx;
+ WORD ContactStatus;
USERINFO *next;
};
@@ -191,8 +190,6 @@ struct GCSessionInfoBase
int iType;
int nUsersInNicklist;
int iEventCount;
- int iWidth;
- int iHeight;
int iStatusCount;
WORD wStatus;
@@ -345,9 +342,6 @@ struct CHAT_MANAGER
void (*LoadMsgDlgFont)(int i, LOGFONT *lf, COLORREF *color);
wchar_t* (*MakeTimeStamp)(wchar_t *pszStamp, time_t time);
- BOOL (*DoEventHook)(const wchar_t *pszID, const char *pszModule, int iType, const USERINFO *pUser, const wchar_t* pszText, INT_PTR dwItem);
- BOOL (*DoEventHookAsync)(HWND hwnd, const wchar_t *pszID, const char *pszModule, int iType, const USERINFO *pUser, const wchar_t* pszText, INT_PTR dwItem);
-
BOOL (*DoSoundsFlashPopupTrayStuff)(SESSION_INFO *si, GCEVENT *gce, BOOL bHighlight, int bManyFix);
BOOL (*DoTrayIcon)(SESSION_INFO *si, GCEVENT *gce);
BOOL (*DoPopup)(SESSION_INFO *si, GCEVENT *gce);
@@ -422,9 +416,10 @@ class MIR_APP_EXPORT CSrmmBaseDialog : public CDlgBase
protected:
CSrmmBaseDialog(HINSTANCE hInst, int idDialog, SESSION_INFO *si = nullptr);
-protected:
virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override;
+ void DoEventHook(int iType, const USERINFO *pUser, const wchar_t *pszText, INT_PTR dwItem);
+
protected:
CCtrlEdit *m_pLog, *m_pEntry;
SESSION_INFO *m_si;