summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-02-21 21:22:45 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-02-21 21:30:33 +0300
commit6694c3eebbc11d776a51039c74b75e5f2539c0d8 (patch)
tree4486cc2b0e46d74691a83f46a74eaa227e7b34a3 /include
parent2cf889e14cb73a24f0ab1a5cb5e2a5d09a98c895 (diff)
CSrmmBaseDialog - basic class for SRMM windows & chats
Diffstat (limited to 'include')
-rw-r--r--include/m_chat_int.h15
-rw-r--r--include/m_gui.h2
2 files changed, 17 insertions, 0 deletions
diff --git a/include/m_chat_int.h b/include/m_chat_int.h
index c2a29e3d00..34dd52cdb9 100644
--- a/include/m_chat_int.h
+++ b/include/m_chat_int.h
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_string.h>
#include <m_chat.h>
+#include <m_gui.h>
#include <m_utils.h>
#define OPTIONS_FONTCOUNT 20
@@ -412,4 +413,18 @@ extern int hLangpack;
EXTERN_C MIR_APP_DLL(CHAT_MANAGER*) Chat_GetInterface(CHAT_MANAGER_INITDATA *pData = NULL, int = hLangpack);
+/////////////////////////////////////////////////////////////////////////////////////////
+
+class MIR_APP_EXPORT CSrmmBaseDialog : public CDlgBase
+{
+protected:
+ CSrmmBaseDialog(HINSTANCE hInst, int idDialog);
+
+protected:
+ virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override;
+
+protected:
+ CCtrlEdit *m_pLog, *m_pEntry;
+};
+
#endif // M_CHAT_INT_H__
diff --git a/include/m_gui.h b/include/m_gui.h
index b784ad95f1..d55ffaa3f9 100644
--- a/include/m_gui.h
+++ b/include/m_gui.h
@@ -29,6 +29,8 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#ifndef __M_GUI_H
#define __M_GUI_H
+#include <CommCtrl.h>
+
#include <m_protoint.h>
#include <m_clc.h>