home *** CD-ROM | disk | FTP | other *** search
- // vbitsdoc.cpp : implementation of the CVbits16Doc class
- //
-
- #include "stdafx.h"
- #include "vbits16.h"
-
- #include "vbitsdoc.h"
-
- #ifdef _DEBUG
- #undef THIS_FILE
- static char BASED_CODE THIS_FILE[] = __FILE__;
- #endif
-
- /////////////////////////////////////////////////////////////////////////////
- // CVbits16Doc
-
- IMPLEMENT_DYNCREATE(CVbits16Doc, CDocument)
-
- BEGIN_MESSAGE_MAP(CVbits16Doc, CDocument)
- //{{AFX_MSG_MAP(CVbits16Doc)
- // 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()
-
- /////////////////////////////////////////////////////////////////////////////
- // CVbits16Doc construction/destruction
-
- CVbits16Doc::CVbits16Doc()
- {
- // TODO: add one-time construction code here
- }
-
- CVbits16Doc::~CVbits16Doc()
- {
- }
-
- BOOL CVbits16Doc::OnNewDocument()
- {
- if (!CDocument::OnNewDocument())
- return FALSE;
-
- // TODO: add reinitialization code here
- // (SDI documents will reuse this document)
-
- return TRUE;
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CVbits16Doc serialization
-
- void CVbits16Doc::Serialize(CArchive& ar)
- {
- ((CEditView*)m_viewList.GetHead())->SerializeRaw(ar);
- }
-
- /////////////////////////////////////////////////////////////////////////////
- // CVbits16Doc diagnostics
-
- #ifdef _DEBUG
- void CVbits16Doc::AssertValid() const
- {
- CDocument::AssertValid();
- }
-
- void CVbits16Doc::Dump(CDumpContext& dc) const
- {
- CDocument::Dump(dc);
- }
- #endif //_DEBUG
-
- /////////////////////////////////////////////////////////////////////////////
- // CVbits16Doc commands
-