doc.h

来自「数据加密算法」· C头文件 代码 · 共 74 行

H
74
字号
#pragma once

class CImportView ;
class CExportView ;
class CMessageView ;

class CImageFile ;
class CDebugControl ;
class CRecordManager ;

// all attribute for one target
class CDancerDoc : public CDocument
{
	DECLARE_DYNCREATE ( CDancerDoc )
	DECLARE_MESSAGE_MAP ( )

public :
	CImageFile* m_pImgFile ;
	CDebugControl* m_pDebugControl ;
	CRecordManager* m_pRecordManager ;

	CString m_strName , m_strPath ;
	CString m_strParameter ;
	CString m_strDumpName ;
	BOOL m_bSave ;

public :
	CImportView* m_pImportView ;
	CExportView* m_pExportView ;
	CMessageView* m_pMessageView ;
	CMDIChildWnd* m_pFrame ;

public :
	CDancerDoc ( ) ;
	~CDancerDoc ( ) ;

	BOOL CanCloseFrame ( ) ;

protected:
	virtual BOOL OnOpenDocument ( LPCTSTR lpszPathName ) ;
	virtual BOOL CanCloseFrame ( CFrameWnd* pFrame ) ;

	afx_msg void OnViewAll ( ) ;
	afx_msg void OnViewUndecorate ( ) ;
	afx_msg void OnDebugStart ( ) ;
	afx_msg void OnDebugParameterStart ( ) ;
	afx_msg void OnDebugStop ( ) ;
	afx_msg void OnDebugPause ( ) ;
	afx_msg void OnEditDumpTo ( ) ;

	afx_msg void OnEditAdd ( ) ;
	afx_msg void OnEditRemove ( ) ;
	afx_msg void OnEditHookImport ( ) ;
	afx_msg void OnEditHookTree ( ) ;
	afx_msg void OnEditUnhookImport ( ) ;
	afx_msg void OnEditUnhookTree ( ) ;
	afx_msg void OnViewExpandAll ( ) ;
	afx_msg void OnViewFoldAll ( ) ;

	afx_msg void OnUpdateViewAll ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateViewUndecorate ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateDebugStart ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateDebugStop ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateDebugPause ( CCmdUI* pCmdUI ) ;

	afx_msg void OnUpdateEditRemove ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateEditAdd ( CCmdUI* pCmdUI ) ;

	afx_msg void OnUpdateEditHookImport ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateEditHookTree ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateEditUnhookImport ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateEditUnhookTree ( CCmdUI* pCmdUI ) ;
	afx_msg void OnUpdateEditDumpTo ( CCmdUI* pCmdUI ) ;
} ;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?