view src/win32/MemoryViewerAddressSize.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 source
1 #if !defined(AFX_MEMORYVIEWERADDRESSSIZE_H__04605262_2B1D_4EED_A467_B6C56AC2CACD__INCLUDED_)
2 #define AFX_MEMORYVIEWERADDRESSSIZE_H__04605262_2B1D_4EED_A467_B6C56AC2CACD__INCLUDED_
4 #if _MSC_VER > 1000
5 #pragma once
6 #endif // _MSC_VER > 1000
7 // -*- C++ -*-
8 // MemoryViewerAddressSize.h : header file
9 //
11 /////////////////////////////////////////////////////////////////////////////
12 // MemoryViewerAddressSize dialog
14 class MemoryViewerAddressSize : public CDialog
15 {
16 u32 address;
17 int size;
18 // Construction
19 public:
20 int getSize();
21 u32 getAddress();
22 void setSize(int s);
23 void setAddress(u32 a);
24 MemoryViewerAddressSize(u32 a = 0xffffff, int s = -1, CWnd*pParent = NULL); // standard constructor
26 // Dialog Data
27 //{{AFX_DATA(MemoryViewerAddressSize)
28 enum { IDD = IDD_ADDR_SIZE };
29 CEdit m_size;
30 CEdit m_address;
31 //}}AFX_DATA
33 // Overrides
34 // ClassWizard generated virtual function overrides
35 //{{AFX_VIRTUAL(MemoryViewerAddressSize)
36 protected:
37 virtual void DoDataExchange(CDataExchange*pDX); // DDX/DDV support
38 //}}AFX_VIRTUAL
40 // Implementation
41 protected:
42 // Generated message map functions
43 //{{AFX_MSG(MemoryViewerAddressSize)
44 virtual BOOL OnInitDialog();
45 afx_msg void OnOk();
46 afx_msg void OnCancel();
47 //}}AFX_MSG
48 DECLARE_MESSAGE_MAP()
49 };
51 //{{AFX_INSERT_LOCATION}}
52 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
54 #endif // !defined(AFX_MEMORYVIEWERADDRESSSIZE_H__04605262_2B1D_4EED_A467_B6C56AC2CACD__INCLUDED_)