OLEDBTextConsumerDoc.cpp
上传用户:benben_wyd
上传日期:2010-02-26
资源大小:1229k
文件大小:1k
源码类别:
书籍源码
开发平台:
Visual C++
- // OLEDBTextConsumerDoc.cpp : implementation of the COLEDBTextConsumerDoc class
- //
- #include "stdafx.h"
- #include "OLEDBTextConsumer.h"
- #include "OLEDBTextConsumerSet.h"
- #include "OLEDBTextConsumerDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // COLEDBTextConsumerDoc
- IMPLEMENT_DYNCREATE(COLEDBTextConsumerDoc, CDocument)
- BEGIN_MESSAGE_MAP(COLEDBTextConsumerDoc, CDocument)
- //{{AFX_MSG_MAP(COLEDBTextConsumerDoc)
- //}}AFX_MSG_MAP
- END_MESSAGE_MAP()
- /////////////////////////////////////////////////////////////////////////////
- // COLEDBTextConsumerDoc construction/destruction
- COLEDBTextConsumerDoc::COLEDBTextConsumerDoc()
- {
- }
- COLEDBTextConsumerDoc::~COLEDBTextConsumerDoc()
- {
- }
- BOOL COLEDBTextConsumerDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // COLEDBTextConsumerDoc diagnostics
- #ifdef _DEBUG
- void COLEDBTextConsumerDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void COLEDBTextConsumerDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // COLEDBTextConsumerDoc commands