// daqDoc.cpp : implementation of the CDaqDoc class // #include "stdafx.h" #include "daq.h" #include "daqDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CDaqDoc IMPLEMENT_DYNCREATE(CDaqDoc, CDocument) BEGIN_MESSAGE_MAP(CDaqDoc, CDocument) //{{AFX_MSG_MAP(CDaqDoc) // 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() ///////////////////////////////////////////////////////////////////////////// // CDaqDoc construction/destruction CDaqDoc::CDaqDoc() { // TODO: add one-time construction code here } CDaqDoc::~CDaqDoc() { } BOOL CDaqDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CDaqDoc serialization void CDaqDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CDaqDoc diagnostics #ifdef _DEBUG void CDaqDoc::AssertValid() const { CDocument::AssertValid(); } void CDaqDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CDaqDoc commands