www.gusucode.com > VC++开发的ACD树形策略编辑器-源码程序 > VC++开发的ACD树形策略编辑器-源码程序/code/dsACD_IVRDoc.cpp
// dsACD_IVRDoc.cpp : implementation of the CDsACD_IVRDoc class // Download by http://www.NewXing.com #include "stdafx.h" #include "dsACD_IVR.h" #include "dsACD_IVRDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDsACD_IVRDoc IMPLEMENT_DYNCREATE(CDsACD_IVRDoc, CDocument) BEGIN_MESSAGE_MAP(CDsACD_IVRDoc, CDocument) //{{AFX_MSG_MAP(CDsACD_IVRDoc) // NOTE - the ClassWizard will add and remove mapping macros here. // DO NOT EDIT what you see in these blocks of generated code! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CDsACD_IVRDoc construction/destruction CDsACD_IVRDoc::CDsACD_IVRDoc() { // TODO: add one-time construction code here } CDsACD_IVRDoc::~CDsACD_IVRDoc() { } BOOL CDsACD_IVRDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CDsACD_IVRDoc serialization void CDsACD_IVRDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CDsACD_IVRDoc diagnostics #ifdef _DEBUG void CDsACD_IVRDoc::AssertValid() const { CDocument::AssertValid(); } void CDsACD_IVRDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CDsACD_IVRDoc commands