home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / SOFTWARE / LIBS / ISDKC122.ZIP / ISDKDDOC.CPP (.txt) < prev    next >
C/C++ Source or Header  |  1996-05-17  |  2KB  |  81 lines

  1. // isdkddoc.cpp : implementation of the CIsdkdemoDoc class
  2. //
  3.  
  4. #include "stdafx.h"
  5. #include "isdkdemo.h"
  6.  
  7. #include "isdkddoc.h"
  8.  
  9. #ifdef _DEBUG
  10. #undef THIS_FILE
  11. static char BASED_CODE THIS_FILE[] = __FILE__;
  12. #endif
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CIsdkdemoDoc
  16.  
  17. IMPLEMENT_DYNCREATE(CIsdkdemoDoc, CDocument)
  18.  
  19. BEGIN_MESSAGE_MAP(CIsdkdemoDoc, CDocument)
  20.     //{{AFX_MSG_MAP(CIsdkdemoDoc)
  21.         // NOTE - the ClassWizard will add and remove mapping macros here.
  22.         //    DO NOT EDIT what you see in these blocks of generated code!
  23.     //}}AFX_MSG_MAP
  24. END_MESSAGE_MAP()
  25.  
  26. /////////////////////////////////////////////////////////////////////////////
  27. // CIsdkdemoDoc construction/destruction
  28.  
  29. CIsdkdemoDoc::CIsdkdemoDoc()
  30. {
  31.     // TODO: add one-time construction code here
  32. }
  33.  
  34. CIsdkdemoDoc::~CIsdkdemoDoc()
  35. {
  36. }
  37.  
  38. BOOL CIsdkdemoDoc::OnNewDocument()
  39. {
  40.     if (!CDocument::OnNewDocument())
  41.         return FALSE;
  42.  
  43.     // TODO: add reinitialization code here
  44.     // (SDI documents will reuse this document)
  45.  
  46.     return TRUE;
  47. }
  48.  
  49. /////////////////////////////////////////////////////////////////////////////
  50. // CIsdkdemoDoc serialization
  51.  
  52. void CIsdkdemoDoc::Serialize(CArchive& ar)
  53. {
  54.     if (ar.IsStoring())
  55.     {
  56.         // TODO: add storing code here
  57.     }
  58.     else
  59.     {
  60.         // TODO: add loading code here
  61.     }
  62. }
  63.  
  64. /////////////////////////////////////////////////////////////////////////////
  65. // CIsdkdemoDoc diagnostics
  66.  
  67. #ifdef _DEBUG
  68. void CIsdkdemoDoc::AssertValid() const
  69. {
  70.     CDocument::AssertValid();
  71. }
  72.  
  73. void CIsdkdemoDoc::Dump(CDumpContext& dc) const
  74. {
  75.     CDocument::Dump(dc);
  76. }
  77. #endif //_DEBUG
  78.  
  79. /////////////////////////////////////////////////////////////////////////////
  80. // CIsdkdemoDoc commands
  81.