trfAgentDoc.cpp
上传用户:maryhy001
上传日期:2007-05-02
资源大小:2317k
文件大小:2k
- // trfAgentDoc.cpp : implementation of the CTrfAgentDoc class
- //
- #include "stdafx.h"
- #include "trfAgent.h"
- #include "trfAgentDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentDoc
- IMPLEMENT_DYNCREATE(CTrfAgentDoc, CDocument)
- BEGIN_MESSAGE_MAP(CTrfAgentDoc, CDocument)
- //{{AFX_MSG_MAP(CTrfAgentDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentDoc construction/destruction
- CTrfAgentDoc::CTrfAgentDoc()
- {
- // TODO: add one-time construction code here
- }
- CTrfAgentDoc::~CTrfAgentDoc()
- {
- }
- BOOL CTrfAgentDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentDoc serialization
- void CTrfAgentDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentDoc diagnostics
- #ifdef _DEBUG
- void CTrfAgentDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CTrfAgentDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CTrfAgentDoc commands