// MainFrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MAINFRM_H__39809C69_0544_11D1_8B6B_444553540000__INCLUDED_)
#define AFX_MAINFRM_H__39809C69_0544_11D1_8B6B_444553540000__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000

#include "winatari.h"

class CMainFrame : public CFrameWnd
{
protected: // create from serialization only
	CMainFrame();
	DECLARE_DYNCREATE(CMainFrame)

// Attributes
public:
	int		iToolBar;
	int		iStatusBar;

private:
	void SaveState( UINT saverom );
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMainFrame)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
	void	DriveInsert( int drivenum );

protected:  // control bar embedded members
	CToolBar    m_wndToolBar;
	CStatusBar  m_wndStatusBar;

// Generated message map functions
protected:
	//{{AFX_MSG(CMainFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSystemDisk();
	afx_msg void OnAtariHardware();
	afx_msg void OnAtariCartridge();
	afx_msg void OnClose();
	afx_msg void OnInfoBenchmark();
	afx_msg void OnOptionsGraphics();
	afx_msg void OnOptionsSound();
	afx_msg void OnInfoSoundPokeySpeed();
	afx_msg void OnAtariHarddisk();
	afx_msg void OnOptionsJoystick();
	afx_msg void OnOptionsLog();
	afx_msg void OnOptionsSoundfile();
	afx_msg void OnMove(int x, int y);
	afx_msg void OnMiscClearall();
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnFileDcmtoatr();
	afx_msg void OnAtariReboot();
	afx_msg void OnFileReadstate();
	afx_msg void OnFileSavestate();
	afx_msg void OnFileSavestateroms();
	afx_msg void OnOptionsKeyboard();
	afx_msg void OnAtarLoadexe();
	afx_msg void OnOptionsArtif();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MAINFRM_H__39809C69_0544_11D1_8B6B_444553540000__INCLUDED_)
