chap1_4doc.h

来自「上述是VIsualc++ 数字图像处理一书的源码」· C头文件 代码 · 共 64 行

H
64
字号
// chap1_4Doc.h : interface of the CChap1_4Doc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CHAP1_4DOC_H__55EE8937_74E8_4DA3_AC31_08490E593FCD__INCLUDED_)
#define AFX_CHAP1_4DOC_H__55EE8937_74E8_4DA3_AC31_08490E593FCD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CChap1_4Doc : public CDocument
{
protected: // create from serialization only
	CChap1_4Doc();
	DECLARE_DYNCREATE(CChap1_4Doc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChap1_4Doc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
	virtual BOOL OnSaveDocument(LPCTSTR lpszPathName);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CChap1_4Doc();

public:
	unsigned char *m_pDib;//存放打开文件的DIB

#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CChap1_4Doc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHAP1_4DOC_H__55EE8937_74E8_4DA3_AC31_08490E593FCD__INCLUDED_)

⌨️ 快捷键说明

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