icrEditDoc.cpp 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // icrEditDoc.cpp : implementation of the CIcrEditDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "icrEdit.h"
  5. #include "icrEditDoc.h"
  6. #include "icrEditView.h"
  7. #include "Mainfrm.h"
  8. #ifdef _DEBUG
  9. #define new DEBUG_NEW
  10. #undef THIS_FILE
  11. static char THIS_FILE[] = __FILE__;
  12. #endif
  13. /////////////////////////////////////////////////////////////////////////////
  14. // CIcrEditDoc
  15. IMPLEMENT_DYNCREATE(CIcrEditDoc, CDocument)
  16. BEGIN_MESSAGE_MAP(CIcrEditDoc, CDocument)
  17. //{{AFX_MSG_MAP(CIcrEditDoc)
  18. // NOTE - the ClassWizard will add and remove mapping macros here.
  19. // DO NOT EDIT what you see in these blocks of generated code!
  20. //}}AFX_MSG_MAP
  21. END_MESSAGE_MAP()
  22. /////////////////////////////////////////////////////////////////////////////
  23. // CIcrEditDoc construction/destruction
  24. CIcrEditDoc::CIcrEditDoc()
  25. {
  26. // TODO: add one-time construction code here
  27. }
  28. CIcrEditDoc::~CIcrEditDoc()
  29. {
  30. }
  31. /////////////////////////////////////////////////////////////////////////////
  32. // CIcrEditDoc serialization
  33. void CIcrEditDoc::Serialize(CArchive& ar)
  34. {
  35. if (ar.IsStoring())
  36. {
  37. // TODO: add storing code here
  38. }
  39. else
  40. {
  41. // TODO: add loading code here
  42. }
  43. }
  44. /////////////////////////////////////////////////////////////////////////////
  45. // CIcrEditDoc diagnostics
  46. #ifdef _DEBUG
  47. void CIcrEditDoc::AssertValid() const
  48. {
  49. CDocument::AssertValid();
  50. }
  51. void CIcrEditDoc::Dump(CDumpContext& dc) const
  52. {
  53. CDocument::Dump(dc);
  54. }
  55. #endif //_DEBUG
  56. /////////////////////////////////////////////////////////////////////////////
  57. // CIcrEditDoc commands