www.gusucode.com > 改函数包包装了GPRS通信的接口源码程序 > 改函数包包装了GPRS通信的接口源码程序/GPRS开发包/VC_DEMO_源代码/vc_demoDoc.cpp
// vc_demoDoc.cpp : implementation of the CVc_demoDoc class // #include "stdafx.h" #include "vc_demo.h" #include "vc_demoDoc.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif ///////////////////////////////////////////////////////////////////////////// // CVc_demoDoc IMPLEMENT_DYNCREATE(CVc_demoDoc, CDocument) BEGIN_MESSAGE_MAP(CVc_demoDoc, CDocument) //{{AFX_MSG_MAP(CVc_demoDoc) // 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() ///////////////////////////////////////////////////////////////////////////// // CVc_demoDoc construction/destruction CVc_demoDoc::CVc_demoDoc() { // TODO: add one-time construction code here } CVc_demoDoc::~CVc_demoDoc() { } BOOL CVc_demoDoc::OnNewDocument() { if (!CDocument::OnNewDocument()) return FALSE; // TODO: add reinitialization code here // (SDI documents will reuse this document) return TRUE; } ///////////////////////////////////////////////////////////////////////////// // CVc_demoDoc serialization void CVc_demoDoc::Serialize(CArchive& ar) { if (ar.IsStoring()) { // TODO: add storing code here } else { // TODO: add loading code here } } ///////////////////////////////////////////////////////////////////////////// // CVc_demoDoc diagnostics #ifdef _DEBUG void CVc_demoDoc::AssertValid() const { CDocument::AssertValid(); } void CVc_demoDoc::Dump(CDumpContext& dc) const { CDocument::Dump(dc); } #endif //_DEBUG ///////////////////////////////////////////////////////////////////////////// // CVc_demoDoc commands