CBIRDoc.h
上传用户:xayxjz
上传日期:2022-08-07
资源大小:2188k
文件大小:1k
- // CBIRDoc.h : interface of the CCBIRDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_CBIRDOC_H__9B78BDC1_FE19_4821_9224_C57B8BD68F91__INCLUDED_)
- #define AFX_CBIRDOC_H__9B78BDC1_FE19_4821_9224_C57B8BD68F91__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- class CCBIRDoc : public CDocument
- {
- protected: // create from serialization only
- CCBIRDoc();
- DECLARE_DYNCREATE(CCBIRDoc)
- // Attributes
- public:
- BOOL m_bImageLoaded;
- CDibObject *m_pDibObject;
- // Operations
- public:
- BOOL ReadImgToDoc();
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CCBIRDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CCBIRDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CCBIRDoc)
- afx_msg void OnFileNew();
- afx_msg void OnFileOpen();
- afx_msg void OnFileSaveAs();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_CBIRDOC_H__9B78BDC1_FE19_4821_9224_C57B8BD68F91__INCLUDED_)