dsrc isn't necessary for this repo
[client-tools.git] / src / engine / client / application / DatabaseObjectViewer / MainFrame.h
blob76780abcc96e63caa7baf6c482ff86df179bae76
1 // ======================================================================
2 //
3 // MainFrame.h
4 // asommers
5 //
6 // copyright 2003, sony online entertainment
7 //
8 // ======================================================================
10 #ifndef INCLUDED_MainFrame_H
11 #define INCLUDED_MainFrame_H
13 // ======================================================================
15 class MainFrame : public CMDIFrameWnd
17 DECLARE_DYNAMIC(MainFrame)
19 public:
21 MainFrame();
22 virtual ~MainFrame();
24 #ifdef _DEBUG
25 virtual void AssertValid() const;
26 virtual void Dump(CDumpContext& dc) const;
27 #endif
29 void setMapPosition (CPoint const & mapPosition);
30 bool getOptimizeOnLoad () const;
32 //{{AFX_VIRTUAL(MainFrame)
33 virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
34 //}}AFX_VIRTUAL
36 protected:
38 CStatusBar m_wndStatusBar;
39 CToolBar m_wndToolBar;
40 CReBar m_wndReBar;
41 CDialogBar m_wndDlgBar;
43 protected:
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);
50 //}}AFX_MSG
51 afx_msg void OnExecuteDynamicMenu(UINT nID);
52 afx_msg void OnUpdate2dMapPosition(CCmdUI* pCmdUI);
53 DECLARE_MESSAGE_MAP()
55 private:
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 // ======================================================================
71 #endif