|
#if !defined(AFX_CODESIZEDLG_H__2DBAA13B_85BC_4D92_96A6_990E8B4F5D7F__INCLUDED_)
#define AFX_CODESIZEDLG_H__2DBAA13B_85BC_4D92_96A6_990E8B4F5D7F__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CodeSizeDlg.h : header file
//
#include "resource.h"
#include "DSUtils.h"
#include "afxcmn.h"
#include "MapfileAnalysis.h"
#define CODE_SIZE_REPORT_FORMAT _T("%-30s %15d %15d %15d %15d %15XH\n")
#define CODE_SIZE_REPORT_FORMAT1 _T("%-30s %15d %15d %15d %15d\n")
#define CODE_SIZE_STR_REPORT_FORMAT _T("%-30s %15s %15s %15s %15s %16s\n")
#define VAR_SIZE_IN_DETAIL _T("%-30s %-40s %15d %15XH \n")
#define VAR_SIZE_IN_DETAIL1 _T("%-30s %-40s %15d \n")
#define VAR_SIZE_STR_IN_DETAIL _T("%-30s %-40s %15s %15s \n")
/////////////////////////////////////////////////////////////////////////////
// CCodeSizeDlg dialog
class CCodeSizeDlg : public CDialog
{
// Construction
public:
//IApplication *m_pApplication;
CCodeSizeDlg(LPCTSTR lpMapfilePath, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCodeSizeDlg)
enum { IDD = IDD_CODESIZE_DLG };
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCodeSizeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CCodeSizeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSave();
virtual void OnCancel();
afx_msg void OnClose();
afx_msg void OnDestroy();
afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_sMapfilePath;
CString m_sFilePath;
void InsertItem();
void PrintMemoryDetail(int nType, CStdioFile& stdFile, ListNode *pSortHead);
public:
CListCtrl m_CtrlCodeSizeList;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CODESIZEDLG_H__2DBAA13B_85BC_4D92_96A6_990E8B4F5D7F__INCLUDED_)
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.