// [!output DOC_IMPL] : implementation of the [!output DOC_CLASS] class // #include "stdafx.h" #include "[!output APP_HEADER]" #include "[!output DOC_HEADER]" #ifdef _DEBUG #define new DEBUG_NEW #endif // [!output DOC_CLASS] IMPLEMENT_DYNCREATE([!output DOC_CLASS], [!output DOC_BASE_CLASS]) BEGIN_MESSAGE_MAP([!output DOC_CLASS], [!output DOC_BASE_CLASS]) END_MESSAGE_MAP() // [!output DOC_CLASS] construction/destruction [!output DOC_CLASS]::[!output DOC_CLASS]() { // TODO: add one-time construction code here } [!output DOC_CLASS]::~[!output DOC_CLASS]() { } BOOL [!output DOC_CLASS]::OnNewDocument() { if (![!output DOC_BASE_CLASS]::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } // [!output DOC_CLASS] serialization #ifndef _WIN32_WCE_NO_ARCHIVE_SUPPORT void [!output DOC_CLASS]::Serialize(CArchive& ar) { (ar); } #endif // !_WIN32_WCE_NO_ARCHIVE_SUPPORT // [!output DOC_CLASS] diagnostics #ifdef _DEBUG void [!output DOC_CLASS]::AssertValid() const { [!output DOC_BASE_CLASS]::AssertValid(); } #endif //_DEBUG // [!output DOC_CLASS] commands