// MfcSample.h : main header file for the MFCSAMPLE application
//

#if !defined(AFX_MFCSAMPLE_H__F9C0CF7F_9685_4DC5_A566_27E9B44FF9FD__INCLUDED_)
#define AFX_MFCSAMPLE_H__F9C0CF7F_9685_4DC5_A566_27E9B44FF9FD__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

// begin Wild Magic specific
#include <vector>
class CMfcSampleView;
// end Wild Magic specific

/////////////////////////////////////////////////////////////////////////////
// CMfcSampleApp:
// See MfcSample.cpp for the implementation of this class
//

// begin Wild Magic specific
#include "Wm3WglRenderer.h"
// end Wild Magic specific

class CMfcSampleApp : public CWinApp
{
public:
	CMfcSampleApp();

    // begin Wild Magic specific
    void AddView (CMfcSampleView* pvView);
    void RemoveView (CMfcSampleView* pvView);
    std::vector<CMfcSampleView*> m_kViews;
    // end Wild Magic specific

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMfcSampleApp)
	public:
	virtual BOOL InitInstance();
	//}}AFX_VIRTUAL

    // begin Wild Magic specific
	virtual int ExitInstance();
	virtual BOOL OnIdle(LONG lCount);
    // end Wild Magic specific


// Implementation
	//{{AFX_MSG(CMfcSampleApp)
	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()
};

//----------------------------------------------------------------------------
// begin Wild Magic specific
//----------------------------------------------------------------------------
extern CMfcSampleApp theApp;
//----------------------------------------------------------------------------
// end Wild Magic specific
//----------------------------------------------------------------------------

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MFCSAMPLE_H__F9C0CF7F_9685_4DC5_A566_27E9B44FF9FD__INCLUDED_)
