home *** CD-ROM | disk | FTP | other *** search
- /* START_LICENSE_HEADER
-
- Copyright (C) 2000 Martin Piper, original design and program code
- Copyright (C) 2001-2005 Replica Software
-
- This program file is copyright (C) Replica Software and can only be used under license.
- For more information visit: http://www.replicanet.com/
- Or email: info@replicanet.com
-
- END_LICENSE_HEADER */
- //{{AFX_INCLUDES()
- #include "richtext.h"
- //}}AFX_INCLUDES
- #if !defined(AFX_CHATDLG_H__E2E43112_EEF9_48CB_8FED_575AC0CFDFF0__INCLUDED_)
- #define AFX_CHATDLG_H__E2E43112_EEF9_48CB_8FED_575AC0CFDFF0__INCLUDED_
-
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // ChatDlg.h : header file
- //
-
- #include <string>
- #include "RNXPSession/Inc/XPsession.h"
-
- /////////////////////////////////////////////////////////////////////////////
- // CChatDlg dialog
-
- class CChatDlg : public CDialog
- {
- // Construction
- public:
- CChatDlg(CWnd* pParent = NULL); // standard constructor
-
- char mName[64];
-
- // Dialog Data
- //{{AFX_DATA(CChatDlg)
- enum { IDD = IDD_CHAT };
- CListBox mUsersList;
- CEdit mChatEdit;
- CRichText mChatWindow;
- //}}AFX_DATA
-
-
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CChatDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
-
- // Implementation
- protected:
-
- // Generated message map functions
- //{{AFX_MSG(CChatDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnTimer(UINT nIDEvent);
- afx_msg void OnWhisper();
- afx_msg void OnChangeEdit1();
- afx_msg void OnButton1();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
-
- private:
- RNReplicaNet::XPSession *mXPSession;
- std::string mChatText;
- bool mIsStable;
- bool mIsMaster;
- bool mError;
- };
-
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
-
- #endif // !defined(AFX_CHATDLG_H__E2E43112_EEF9_48CB_8FED_575AC0CFDFF0__INCLUDED_)
-