BedlamiteDoc.cpp
资源名称:语音程序.rar [点击查看]
上传用户:lczygg
上传日期:2007-07-03
资源大小:2947k
文件大小:2k
源码类别:
语音合成与识别
开发平台:
Visual C++
- // BedlamiteDoc.cpp : implementation of the CBedlamiteDoc class
- //
- #include "stdafx.h"
- #include "Bedlamite.h"
- #include "BedlamiteDoc.h"
- #ifdef _DEBUG
- #define new DEBUG_NEW
- #undef THIS_FILE
- static char THIS_FILE[] = __FILE__;
- #endif
- /////////////////////////////////////////////////////////////////////////////
- // CBedlamiteDoc
- IMPLEMENT_DYNCREATE(CBedlamiteDoc, CDocument)
- BEGIN_MESSAGE_MAP(CBedlamiteDoc, CDocument)
- //{{AFX_MSG_MAP(CBedlamiteDoc)
- // 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()
- /////////////////////////////////////////////////////////////////////////////
- // CBedlamiteDoc construction/destruction
- CBedlamiteDoc::CBedlamiteDoc()
- {
- // TODO: add one-time construction code here
- }
- CBedlamiteDoc::~CBedlamiteDoc()
- {
- }
- BOOL CBedlamiteDoc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
- return TRUE;
- }
- /////////////////////////////////////////////////////////////////////////////
- // CBedlamiteDoc serialization
- void CBedlamiteDoc::Serialize(CArchive& ar)
- {
- if (ar.IsStoring())
- {
- // TODO: add storing code here
- }
- else
- {
- // TODO: add loading code here
- }
- }
- /////////////////////////////////////////////////////////////////////////////
- // CBedlamiteDoc diagnostics
- #ifdef _DEBUG
- void CBedlamiteDoc::AssertValid() const
- {
- CDocument::AssertValid();
- }
- void CBedlamiteDoc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
- /////////////////////////////////////////////////////////////////////////////
- // CBedlamiteDoc commands