summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-22 17:54:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-22 17:54:29 +0300
commitf59a84dc9b6e843da1024f108cba16aa9544b10c (patch)
treeaacb5df6ff7fcf6f9a66fcdd8a6529f6b56aae0e /include
parent75876f6d7a4b4597e95a72315aa82dc3a8ffc57d (diff)
- more SRMM buttons went to mir_app;
- history button handler also moved to mir_app;
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index 203c6b343b..5088fc69d5 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -365,7 +365,10 @@ struct CHAT_MANAGER
void (*OnFlashHighlight)(SESSION_INFO*, int bInactive);
};
+#ifndef MIR_APP_EXPORTS
extern CHAT_MANAGER *pci;
+#endif
+
extern int hLangpack;
EXTERN_C MIR_APP_DLL(CHAT_MANAGER*) Chat_GetInterface(CHAT_MANAGER_INITDATA *pData = NULL, int = hLangpack);
@@ -389,6 +392,9 @@ EXTERN_C MIR_APP_DLL(void) Chat_UpdateOptions();
#define IDC_SRMM_ITALICS 3004
#define IDC_SRMM_UNDERLINE 3005
#define IDC_SRMM_FILTER 3006
+#define IDC_SRMM_CHANMGR 3007
+#define IDC_SRMM_NICKLIST 3008
+#define IDC_SRMM_HISTORY 3009
class MIR_APP_EXPORT CSrmmBaseDialog : public CDlgBase
{
@@ -410,12 +416,15 @@ protected:
SESSION_INFO *m_si;
COLORREF m_clrInputBG, m_clrInputFG;
- CCtrlButton m_btnColor, m_btnBkColor, m_btnFilter;
+ CCtrlButton m_btnColor, m_btnBkColor;
CCtrlButton m_btnBold, m_btnItalic, m_btnUnderline;
+ CCtrlButton m_btnHistory, m_btnChannelMgr, m_btnNickList, m_btnFilter;
+
+ void onClick_BIU(CCtrlButton*);
+ void onClick_Color(CCtrlButton*);
+ void onClick_BkColor(CCtrlButton*);
- void onClick_BIU(CCtrlButton *pButton);
- void onClick_Color(CCtrlButton *pButton);
- void onClick_BkColor(CCtrlButton *pButton);
+ void onClick_History(CCtrlButton*);
public:
MCONTACT m_hContact;