view src/win32/GBDisassemble.h @ 3:b05d00f19d80

fix some formatting
author Robert McIntyre <rlm@mit.edu>
date Sat, 03 Mar 2012 10:33:11 -0600
parents f9f4f1b99eed
children
line wrap: on
line source
1 #if !defined(AFX_GBDISASSEMBLE_H__3EFD5B47_6DBF_4F63_8F91_A9511EC590EB__INCLUDED_)
2 #define AFX_GBDISASSEMBLE_H__3EFD5B47_6DBF_4F63_8F91_A9511EC590EB__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // -*- C++ -*-
8 // GBDisassemble.h : header file
9 //
11 #include "IUpdate.h"
12 #include "ResizeDlg.h"
14 /////////////////////////////////////////////////////////////////////////////
15 // GBDisassemble dialog
17 class GBDisassemble : public ResizeDlg, IUpdateListener
18 {
19 // Construction
20 public:
21 //bool autoUpdate; // If these two variables are defined here, the dialog will crash!
22 //u16 address; // There might be a bug within MFC.
23 virtual void update();
24 void refresh();
25 GBDisassemble(CWnd*pParent = NULL); // standard constructor
27 // Dialog Data
28 //{{AFX_DATA(GBDisassemble)
29 enum { IDD = IDD_GB_DISASSEMBLE };
30 CEdit m_address;
31 CListBox m_list;
32 BOOL m_c;
33 BOOL m_h;
34 BOOL m_n;
35 BOOL m_z;
36 //}}AFX_DATA
37 bool autoUpdate;
38 int count;
39 u16 address;
40 u16 lastAddress;
42 // Overrides
43 // ClassWizard generated virtual function overrides
44 //{{AFX_VIRTUAL(GBDisassemble)
45 protected:
46 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
47 virtual void PostNcDestroy();
48 //}}AFX_VIRTUAL
50 // Implementation
51 protected:
52 // Generated message map functions
53 //{{AFX_MSG(GBDisassemble)
54 afx_msg void OnClose();
55 afx_msg void OnRefresh();
56 afx_msg void OnNext();
57 afx_msg void OnGo();
58 afx_msg void OnGopc();
59 afx_msg void OnAutoUpdate();
60 virtual BOOL OnInitDialog();
61 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar*pScrollBar);
62 //}}AFX_MSG
63 DECLARE_MESSAGE_MAP()
64 };
66 //{{AFX_INSERT_LOCATION}}
67 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
69 #endif // !defined(AFX_GBDISASSEMBLE_H__3EFD5B47_6DBF_4F63_8F91_A9511EC590EB__INCLUDED_)