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"
- #include <atlbase.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:
- CListView* GetListView1();
- CComPtr<IDALMyBools> GetDbTools();
- virtual ~CBookAdminDoc();
- #ifdef _DEBUG
- virtual void AssertValid() const;
- virtual void Dump(CDumpContext& dc) const;
- #endif
- protected:
- // Generated message map functions
- protected:
- //{{AFX_MSG(CBookAdminDoc)
- afx_msg void OnButton32771();
- //}}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_)