summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-06 13:51:43 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-06 13:51:43 +0300
commit2baf1b9fc764b59f963f94faf01cbed28622717a (patch)
tree819beadce3ab775e584430f3fd12f4e6722a02c0 /plugins/TabSRMM/src/msgs.h
parentac92ec1a55354e57b8cc6d4fd77aa2e75a896242 (diff)
TNewWindowData - unneeded structure removed
Diffstat (limited to 'plugins/TabSRMM/src/msgs.h')
-rw-r--r--plugins/TabSRMM/src/msgs.h28
1 files changed, 5 insertions, 23 deletions
diff --git a/plugins/TabSRMM/src/msgs.h b/plugins/TabSRMM/src/msgs.h
index 737b3fe1a1..8c5c4b24db 100644
--- a/plugins/TabSRMM/src/msgs.h
+++ b/plugins/TabSRMM/src/msgs.h
@@ -230,31 +230,11 @@ struct TContainerData
struct SESSION_INFO;
-struct TNewWindowData
-{
- MCONTACT hContact;
- int isWchar;
- LPCSTR szInitialText;
- int iTabID;
- int iTabImage;
- int iActivate;
- TCITEM item;
- BOOL bWantPopup;
- HKL hkl;
-
- union {
- MEVENT hdbEvent;
- SESSION_INFO *si;
- };
- TContainerData *pContainer;
-};
-
class CTabBaseDlg : public CSrmmBaseDialog
{
protected:
CCtrlEdit m_log, m_message;
- TNewWindowData *newData;
void DM_AddDivider();
void DM_DismissTip(const POINT& pt);
@@ -374,7 +354,7 @@ public:
char *m_enteredText;
public:
- CTabBaseDlg(TNewWindowData*, int);
+ CTabBaseDlg(int iDialogId);
virtual INT_PTR DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) override;
@@ -459,9 +439,11 @@ class CSrmmWindow : public CTabBaseDlg
public:
int msgTop, rcLogBottom;
+ wchar_t *wszInitialText;
+ bool m_bActivate, m_bWantPopup;
public:
- CSrmmWindow(TNewWindowData*);
+ CSrmmWindow();
virtual void OnInitDialog() override;
virtual void OnDestroy() override;
@@ -489,7 +471,7 @@ public:
wchar_t m_wszSearch[255];
public:
- CChatRoomDlg(TNewWindowData*);
+ CChatRoomDlg(SESSION_INFO*);
virtual void OnInitDialog() override;
virtual void OnDestroy() override;