www.pudn.com > goodchessGame.zip > FiveInOne.h


// FiveInOne.h : main header file for the FIVEINONE application 
// 
 
#if !defined(AFX_FIVEINONE_H__AD047139_DB59_4AA2_8F6E_FDC4904518C7__INCLUDED_) 
#define AFX_FIVEINONE_H__AD047139_DB59_4AA2_8F6E_FDC4904518C7__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 
 
#include "GameController.h" 
#include "ImageDialog.h" 
 
 
 
///////////////////////////////////////////////////////////////////////////// 
// CFiveInOneApp: 
// See FiveInOne.cpp for the implementation of this class 
// 
 
class CFiveInOneApp : public CWinApp 
{ 
public: 
	CFiveInOneApp(); 
	~CFiveInOneApp(); 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CFiveInOneApp) 
	public: 
	virtual BOOL InitInstance(); 
	//}}AFX_VIRTUAL 
 
// Implementation 
	//{{AFX_MSG(CFiveInOneApp) 
	afx_msg void OnAppAbout(); 
		// NOTE - the ClassWizard will add and remove member functions here. 
		//    DO NOT EDIT what you see in these blocks of generated code ! 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
private: 
    BOOL IsOnlyInstance (); 
    HANDLE m_hSingleInstanceSemaphore; 
public: 
	CGameController *m_pGameController; 
	COptionsDialog m_OptionsDlg; 
	CImageDialog m_ImageDialog; 
}; 
 
#define FIVEINONE_APP   ((CFiveInOneApp*)AfxGetApp()) 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_FIVEINONE_H__AD047139_DB59_4AA2_8F6E_FDC4904518C7__INCLUDED_)