summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gdb/mswin/mainfrm.h
blob: 8193277dc9c403f35da77e4254a16ff8d31b3c0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// mainfrm.h : interface of the CMainFrame class
//
/////////////////////////////////////////////////////////////////////////////

class CMyToolBar : public CToolBar
{
// Construction
public:
	CMyToolBar();

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyToolBar)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CMyToolBar();

	// Generated message map functions
protected:
	//{{AFX_MSG(CMyToolBar)
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

class CMainFrame : public CMDIFrameWnd
{
  DECLARE_DYNAMIC(CMainFrame)
 public:
  CMainFrame();

  // Attributes
public:
  
  // Operations
public:
  
  // Overrides
  // ClassWizard generated virtual function overrides
  //{{AFX_VIRTUAL(CMainFrame)
public:
  virtual void RecalcLayout(BOOL bNotify = TRUE);
 protected:
  virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  //}}AFX_VIRTUAL

  // Implementation
public:

  //class CFSplit *split;
  virtual ~CMainFrame();
  void DockControlBarLeftOf(CControlBar* Bar,CControlBar* LeftOf)  ;
  void InitBar(CToolBar *p, int id, const unsigned int *buttons, int size);
  
protected:			// control bar embedded members
  CStatusBar  m_wndStatusBar;
  CMyToolBar    m_wndToolBar;
  CMyToolBar  m_wndGdbBar;
  CMyToolBar  m_wndWinBar;
  CMyToolBar src_win_bar;
//  CDialogBar doingbar;
  // Generated message map functions
protected:
  //{{AFX_MSG(CMainFrame)
  afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  afx_msg void OnRegister();
  afx_msg void OnSync();
  afx_msg void OnClose();

  afx_msg void OnTargetRemote();
  afx_msg void OnTargetSimulator();
  afx_msg void OnReadScript();

  afx_msg void OnS();
  afx_msg void OnFinish();
  afx_msg void OnUpdateS(CCmdUI* pCmdUI);
  afx_msg void OnUpdateSync(CCmdUI* pCmdUI);
  afx_msg void OnUpdateWhat(CCmdUI* pCmdUI);
  afx_msg void OnUpdateFinish(CCmdUI* pCmdUI);
  afx_msg void OnN();	afx_msg void OnUpdateN(CCmdUI* pCmdUI);
  afx_msg void OnCont();
  afx_msg void OnUpdateCont(CCmdUI* pCmdUI);
  afx_msg void OnUpdateRun(CCmdUI* pCmdUI);
  afx_msg void OnRun();
  afx_msg void OnSize(UINT nType, int cx, int cy);

  afx_msg void OnIn();	afx_msg void OnUpdateIn(CCmdUI* pCmdUI);
  afx_msg void OnOut();	afx_msg void OnUpdateOut(CCmdUI* pCmdUI);
  afx_msg void OnProperties();
  //}}AFX_MSG
  DECLARE_MESSAGE_MAP()
  };

/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// CMyToolbar window


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