00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #if !defined(AFX_CTRLPRIVATECHATFRAME_H__63B46831_EC54_47CF_A276_A2F281A2EBBF__INCLUDED_)
00023 #define AFX_CTRLPRIVATECHATFRAME_H__63B46831_EC54_47CF_A276_A2F281A2EBBF__INCLUDED_
00024
00025 #pragma once
00026
00027 #include "CtrlChatFrame.h"
00028 #include "GProfile.h"
00029
00030 class CChatSession;
00031
00032
00033 class CPrivateChatFrame : public CChatFrame
00034 {
00035
00036 public:
00037 CPrivateChatFrame();
00038 virtual ~CPrivateChatFrame();
00039
00040 DECLARE_DYNAMIC(CPrivateChatFrame)
00041
00042
00043 public:
00044 CString m_sNick;
00045
00046
00047 public:
00048 void Initiate(GGUID* pGUID, SOCKADDR_IN* pHost, BOOL bMustPush);
00049 BOOL Accept(CChatSession* pSession);
00050 public:
00051 virtual void OnLocalMessage(BOOL bAction, LPCTSTR pszText);
00052 virtual void OnLocalCommand(LPCTSTR pszCommand, LPCTSTR pszArgs);
00053 virtual void OnProfileReceived();
00054 virtual void OnRemoteMessage(BOOL bAction, LPCTSTR pszText);
00055
00056
00057 public:
00058
00059
00060
00061 virtual void OnSkinChange();
00062
00063
00064 protected:
00065
00066 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00067 afx_msg void OnSize(UINT nType, int cx, int cy);
00068 afx_msg void OnPaint();
00069 afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
00070 afx_msg void OnUpdateChatBrowse(CCmdUI* pCmdUI);
00071 afx_msg void OnChatBrowse();
00072 afx_msg void OnUpdateChatPriority(CCmdUI* pCmdUI);
00073 afx_msg void OnChatPriority();
00074
00075
00076 DECLARE_MESSAGE_MAP()
00077
00078 };
00079
00080
00081
00082 #endif // !defined(AFX_CTRLPRIVATECHATFRAME_H__63B46831_EC54_47CF_A276_A2F281A2EBBF__INCLUDED_)