// mfcsoundtestDoc.cpp : Implementierung der Klasse CMfcsoundtestDoc // #include "stdafx.h" #include "mfcsoundtest.h" #include "mfcsoundtestDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CMfcsoundtestDoc IMPLEMENT_DYNCREATE(CMfcsoundtestDoc, CDocument) BEGIN_MESSAGE_MAP(CMfcsoundtestDoc, CDocument) //{{AFX_MSG_MAP(CMfcsoundtestDoc) // HINWEIS - Hier werden Mapping-Makros vom Klassen-Assistenten eingefügt und entfernt. // Innerhalb dieser generierten Quelltextabschnitte NICHTS VERÄNDERN! //}}AFX_MSG_MAP END_MESSAGE_MAP() ///////////////////////////////////////////////////////////////////////////// // CMfcsoundtestDoc Konstruktion/Destruktion CMfcsoundtestDoc::CMfcsoundtestDoc() { // ZU ERLEDIGEN: Hier Code für One-Time-Konstruktion einfügen } CMfcsoundtestDoc::~CMfcsoundtestDoc() { } BOOL CMfcsoundtestDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // ZU ERLEDIGEN: Hier Code zur Reinitialisierung einfügen // (SDI-Dokumente verwenden dieses Dokument) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CMfcsoundtestDoc Serialisierung void CMfcsoundtestDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // ZU ERLEDIGEN: Hier Code zum Speichern einfügen } else { // ZU ERLEDIGEN: Hier Code zum Laden einfügen } } ///////////////////////////////////////////////////////////////////////////// // CMfcsoundtestDoc Diagnose #ifdef _DEBUG void CMfcsoundtestDoc::AssertValid() const { CDocument::AssertValid(); } void CMfcsoundtestDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CMfcsoundtestDoc Befehle