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