1 // ======================================================================
6 // copyright 2003, sony online entertainment
8 // ======================================================================
10 #ifndef INCLUDED_MainFrame_H
11 #define INCLUDED_MainFrame_H
13 // ======================================================================
15 class MainFrame
: public CMDIFrameWnd
17 DECLARE_DYNAMIC(MainFrame
)
25 virtual void AssertValid() const;
26 virtual void Dump(CDumpContext
& dc
) const;
29 void setMapPosition (CPoint
const & mapPosition
);
30 bool getOptimizeOnLoad () const;
32 //{{AFX_VIRTUAL(MainFrame)
33 virtual BOOL
PreCreateWindow(CREATESTRUCT
& cs
);
38 CStatusBar m_wndStatusBar
;
39 CToolBar m_wndToolBar
;
41 CDialogBar m_wndDlgBar
;
45 //{{AFX_MSG(MainFrame)
46 afx_msg
int OnCreate(LPCREATESTRUCT lpCreateStruct
);
47 afx_msg
void OnInitMenu(CMenu
* pMenu
);
48 afx_msg
void OnOptionsOptimizefileonload();
49 afx_msg
void OnUpdateOptionsOptimizefileonload(CCmdUI
* pCmdUI
);
51 afx_msg
void OnExecuteDynamicMenu(UINT nID
);
52 afx_msg
void OnUpdate2dMapPosition(CCmdUI
* pCmdUI
);
57 typedef std::map
<UINT
, std::string
> IdStringMap
;
58 IdStringMap m_planetMap
;
59 IdStringMap m_hostMap
;
61 CPoint m_mapPosition_w
;
62 bool m_optimizeOnLoad
;
65 // ======================================================================
67 //{{AFX_INSERT_LOCATION}}
69 // ======================================================================