openmohaa/code/gamespy/Chat/chatty/chatty.h
2023-02-04 21:00:01 +01:00

59 lines
1.5 KiB
C++

// chatty.h : main header file for the CHATTY application
//
#if !defined(AFX_CHATTY_H__D2C88C24_CA2E_4ED3_B08E_BF48F6C0A36B__INCLUDED_)
#define AFX_CHATTY_H__D2C88C24_CA2E_4ED3_B08E_BF48F6C0A36B__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#ifndef __AFXWIN_H__
#error include 'stdafx.h' before including this file for PCH
#endif
#include "resource.h" // main symbols
/////////////////////////////////////////////////////////////////////////////
// CChattyApp:
// See chatty.cpp for the implementation of this class
//
class CChattyApp : public CWinApp
{
public:
CChattyApp();
CHAT m_chat;
bool m_connected;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CChattyApp)
public:
virtual BOOL InitInstance();
virtual int ExitInstance();
//}}AFX_VIRTUAL
// Implementation
//{{AFX_MSG(CChattyApp)
afx_msg void OnAppAbout();
afx_msg void OnFileConnect();
afx_msg void OnFileDisconnect();
afx_msg void OnFileListchannels();
afx_msg void OnFileSendraw();
afx_msg void OnFileGetuserinfo();
afx_msg void OnFileSilence();
afx_msg void OnFileUnsilence();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
extern CChattyApp theApp;
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHATTY_H__D2C88C24_CA2E_4ED3_B08E_BF48F6C0A36B__INCLUDED_)