diff options
author | George Hazan <ghazan@miranda.im> | 2019-02-04 18:14:35 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-02-04 18:14:35 +0300 |
commit | 0d07cce06e61f8dd54cda14d1f6ffb3aa9660ed8 (patch) | |
tree | 633a3e5200cb14270009e80b37d361a4448a30b9 /protocols/JabberG/src/jabber_proto.h | |
parent | ec4fb86c9667d7158d6f592985031bef61d9ca0a (diff) |
Jabber: Jid List dialog -> UI classes
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.h')
-rwxr-xr-x | protocols/JabberG/src/jabber_proto.h | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/protocols/JabberG/src/jabber_proto.h b/protocols/JabberG/src/jabber_proto.h index a7ba7cbb75..10f15af6f0 100755 --- a/protocols/JabberG/src/jabber_proto.h +++ b/protocols/JabberG/src/jabber_proto.h @@ -41,6 +41,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include "jabber_strm_mgmt.h"
struct CJabberProto;
+class CJabberMucJidListDlg;
enum TJabberGcLogInfoType { INFO_BAN, INFO_STATUS, INFO_CONFIG, INFO_AFFILIATION, INFO_ROLE };
@@ -219,14 +220,8 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface HWND m_hwndAgentRegInput;
HWND m_hwndRegProgress;
HWND m_hwndJabberChangePassword;
- HWND m_hwndMucVoiceList;
- HWND m_hwndMucMemberList;
- HWND m_hwndMucModeratorList;
- HWND m_hwndMucBanList;
- HWND m_hwndMucAdminList;
- HWND m_hwndMucOwnerList;
- HWND m_hwndJabberAddBookmark;
HWND m_hwndPrivacyRule;
+ HWND m_hwndJabberAddBookmark;
CJabberDlgBase *m_pDlgPrivacyLists;
CJabberDlgBase *m_pDlgBookmarks;
@@ -578,6 +573,16 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void GroupchatJoinByHContact(MCONTACT hContact, bool autojoin=false);
+ //---- jabber_iqid_muc.cpp -----------------------------------------------------------
+
+ CJabberMucJidListDlg *m_pDlgMucVoiceList, *m_pDlgMucMemberList, *m_pDlgMucModeratorList;
+ CJabberMucJidListDlg *m_pDlgMucBanList, *m_pDlgMucAdminList, *m_pDlgMucOwnerList;
+ CJabberMucJidListDlg *& GetMucDlg(JABBER_MUC_JIDLIST_TYPE);
+
+ void SetMucConfig(HXML node, void *from);
+ void MucShutdown(void);
+ void OnIqResultMucGetJidList(HXML iqNode, JABBER_MUC_JIDLIST_TYPE listType);
+
//---- jabber_message_handlers.cpp ---------------------------------------------------
BOOL OnMessageError(HXML node, ThreadData *pThreadData, CJabberMessageInfo* pInfo);
@@ -605,9 +610,6 @@ struct CJabberProto : public PROTO<CJabberProto>, public IJabberInterface void ListRemoveResource(JABBER_LIST list, const wchar_t *jid);
wchar_t* ListGetBestClientResourceNamePtr(const wchar_t *jid);
- void SetMucConfig(HXML node, void *from);
- void OnIqResultMucGetJidList(HXML iqNode, JABBER_MUC_JIDLIST_TYPE listType);
-
void OnIqResultServerDiscoInfo(HXML iqNode, CJabberIqInfo *pInfo);
void OnIqResultGetVcardPhoto(HXML n, MCONTACT hContact, bool &hasPhoto);
void SetBookmarkRequest(XmlNodeIq &iqId);
|