Mercurial > vba-clojure
diff src/win32/GBDisassemble.h @ 1:f9f4f1b99eed
importing src directory
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Sat, 03 Mar 2012 10:31:27 -0600 |
parents | |
children |
line wrap: on
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/win32/GBDisassemble.h Sat Mar 03 10:31:27 2012 -0600 1.3 @@ -0,0 +1,69 @@ 1.4 +#if !defined(AFX_GBDISASSEMBLE_H__3EFD5B47_6DBF_4F63_8F91_A9511EC590EB__INCLUDED_) 1.5 +#define AFX_GBDISASSEMBLE_H__3EFD5B47_6DBF_4F63_8F91_A9511EC590EB__INCLUDED_ 1.6 + 1.7 +#if _MSC_VER > 1000 1.8 +#pragma once 1.9 +#endif // _MSC_VER > 1000 1.10 +// -*- C++ -*- 1.11 +// GBDisassemble.h : header file 1.12 +// 1.13 + 1.14 +#include "IUpdate.h" 1.15 +#include "ResizeDlg.h" 1.16 + 1.17 +///////////////////////////////////////////////////////////////////////////// 1.18 +// GBDisassemble dialog 1.19 + 1.20 +class GBDisassemble : public ResizeDlg, IUpdateListener 1.21 +{ 1.22 + // Construction 1.23 +public: 1.24 + //bool autoUpdate; // If these two variables are defined here, the dialog will crash! 1.25 + //u16 address; // There might be a bug within MFC. 1.26 + virtual void update(); 1.27 + void refresh(); 1.28 + GBDisassemble(CWnd*pParent = NULL); // standard constructor 1.29 + 1.30 + // Dialog Data 1.31 + //{{AFX_DATA(GBDisassemble) 1.32 + enum { IDD = IDD_GB_DISASSEMBLE }; 1.33 + CEdit m_address; 1.34 + CListBox m_list; 1.35 + BOOL m_c; 1.36 + BOOL m_h; 1.37 + BOOL m_n; 1.38 + BOOL m_z; 1.39 + //}}AFX_DATA 1.40 + bool autoUpdate; 1.41 + int count; 1.42 + u16 address; 1.43 + u16 lastAddress; 1.44 + 1.45 + // Overrides 1.46 + // ClassWizard generated virtual function overrides 1.47 + //{{AFX_VIRTUAL(GBDisassemble) 1.48 +protected: 1.49 + virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support 1.50 + virtual void PostNcDestroy(); 1.51 + //}}AFX_VIRTUAL 1.52 + 1.53 + // Implementation 1.54 +protected: 1.55 + // Generated message map functions 1.56 + //{{AFX_MSG(GBDisassemble) 1.57 + afx_msg void OnClose(); 1.58 + afx_msg void OnRefresh(); 1.59 + afx_msg void OnNext(); 1.60 + afx_msg void OnGo(); 1.61 + afx_msg void OnGopc(); 1.62 + afx_msg void OnAutoUpdate(); 1.63 + virtual BOOL OnInitDialog(); 1.64 + afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar*pScrollBar); 1.65 + //}}AFX_MSG 1.66 + DECLARE_MESSAGE_MAP() 1.67 +}; 1.68 + 1.69 +//{{AFX_INSERT_LOCATION}} 1.70 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 1.71 + 1.72 +#endif // !defined(AFX_GBDISASSEMBLE_H__3EFD5B47_6DBF_4F63_8F91_A9511EC590EB__INCLUDED_)