BookAdminDoc.h
上传用户:weisheen
上传日期:2022-07-09
资源大小:19390k
文件大小:2k
源码类别:
ActiveX/DCOM/ATL
开发平台:
Visual C++
- // BookAdminDoc.h : interface of the CBookAdminDoc class
- //
- /////////////////////////////////////////////////////////////////////////////
- #if !defined(AFX_BOOKADMINDOC_H__94B9BD55_AA4D_4247_9DF9_A82C28FAB631__INCLUDED_)
- #define AFX_BOOKADMINDOC_H__94B9BD55_AA4D_4247_9DF9_A82C28FAB631__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- #include <afxtempl.h>
- #include "../BooksDAL/BooksDAL.h"
- #include "./BookEntity.h"
- class CBookAdminDoc : public CDocument
- {
- protected: // create from serialization only
- CBookAdminDoc();
- DECLARE_DYNCREATE(CBookAdminDoc)
- // Attributes
- public:
- CTypedPtrList<CObList,BookEntity*> allBooks;
- // Operations
- public:
- // Overrides
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CBookAdminDoc)
- public:
- virtual BOOL OnNewDocument();
- virtual void Serialize(CArchive& ar);
- //}}AFX_VIRTUAL
- // Implementation
- public:
- virtual ~CBookAdminDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBookAdminDoc)
- // 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_BOOKADMINDOC_H__94B9BD55_AA4D_4247_9DF9_A82C28FAB631__INCLUDED_)