diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/win32/MemoryViewerAddressSize.h	Sat Mar 03 10:31:27 2012 -0600
     1.3 @@ -0,0 +1,54 @@
     1.4 +#if !defined(AFX_MEMORYVIEWERADDRESSSIZE_H__04605262_2B1D_4EED_A467_B6C56AC2CACD__INCLUDED_)
     1.5 +#define AFX_MEMORYVIEWERADDRESSSIZE_H__04605262_2B1D_4EED_A467_B6C56AC2CACD__INCLUDED_
     1.6 +
     1.7 +#if _MSC_VER > 1000
     1.8 +#pragma once
     1.9 +#endif // _MSC_VER > 1000
    1.10 +// -*- C++ -*-
    1.11 +// MemoryViewerAddressSize.h : header file
    1.12 +//
    1.13 +
    1.14 +/////////////////////////////////////////////////////////////////////////////
    1.15 +// MemoryViewerAddressSize dialog
    1.16 +
    1.17 +class MemoryViewerAddressSize : public CDialog
    1.18 +{
    1.19 +	u32 address;
    1.20 +	int size;
    1.21 +	// Construction
    1.22 +public:
    1.23 +	int getSize();
    1.24 +	u32 getAddress();
    1.25 +	void setSize(int s);
    1.26 +	void setAddress(u32 a);
    1.27 +	MemoryViewerAddressSize(u32 a = 0xffffff, int s = -1, CWnd*pParent = NULL); // standard constructor
    1.28 +
    1.29 +	// Dialog Data
    1.30 +	//{{AFX_DATA(MemoryViewerAddressSize)
    1.31 +	enum { IDD = IDD_ADDR_SIZE };
    1.32 +	CEdit m_size;
    1.33 +	CEdit m_address;
    1.34 +	//}}AFX_DATA
    1.35 +
    1.36 +	// Overrides
    1.37 +	// ClassWizard generated virtual function overrides
    1.38 +	//{{AFX_VIRTUAL(MemoryViewerAddressSize)
    1.39 +protected:
    1.40 +	virtual void DoDataExchange(CDataExchange*pDX);   // DDX/DDV support
    1.41 +	//}}AFX_VIRTUAL
    1.42 +
    1.43 +	// Implementation
    1.44 +protected:
    1.45 +	// Generated message map functions
    1.46 +	//{{AFX_MSG(MemoryViewerAddressSize)
    1.47 +	virtual BOOL OnInitDialog();
    1.48 +	afx_msg void OnOk();
    1.49 +	afx_msg void OnCancel();
    1.50 +	//}}AFX_MSG
    1.51 +	DECLARE_MESSAGE_MAP()
    1.52 +};
    1.53 +
    1.54 +//{{AFX_INSERT_LOCATION}}
    1.55 +// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
    1.56 +
    1.57 +#endif // !defined(AFX_MEMORYVIEWERADDRESSSIZE_H__04605262_2B1D_4EED_A467_B6C56AC2CACD__INCLUDED_)