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