Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

81 lines
1.7 KiB

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