// ltcdbDoc.cpp : implementation of the CLtcdbDoc class // #include "stdafx.h" #include "ltcdb.h" #include "ltcdbSet.h" #include "ltcdbDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif extern void ExitMFCApp(); ///////////////////////////////////////////////////////////////////////////// // CLtcdbDoc IMPLEMENT_DYNCREATE(CLtcdbDoc, CDocument) BEGIN_MESSAGE_MAP(CLtcdbDoc, CDocument) //{{AFX_MSG_MAP(CLtcdbDoc) //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CLtcdbDoc construction/destruction CLtcdbDoc::CLtcdbDoc() { } ///////////////////////////////////////////////////////////////////////////// CLtcdbDoc::~CLtcdbDoc() { } ///////////////////////////////////////////////////////////////////////////// BOOL CLtcdbDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) SetTitle(TEXT("")); return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CLtcdbDoc diagnostics #ifdef _DEBUG void CLtcdbDoc::AssertValid() const { CDocument::AssertValid(); } ///////////////////////////////////////////////////////////////////////////// void CLtcdbDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CLtcdbDoc commands