OGDoc.cpp
Upload User: jqph2005
Upload Date: 2009-03-31
Package Size: 117k
Code Size: 1k
Category:

OpenGL program

Development Platform:

C/C++

  1. // OGDoc.cpp : implementation of the COGDoc class
  2. //
  3. #include "stdafx.h"
  4. #include "OG.h"
  5. #include "OGDoc.h"
  6. #ifdef _DEBUG
  7. #define new DEBUG_NEW
  8. #undef THIS_FILE
  9. static char THIS_FILE[] = __FILE__;
  10. #endif
  11. /////////////////////////////////////////////////////////////////////////////
  12. // COGDoc
  13. IMPLEMENT_DYNCREATE(COGDoc, CDocument)
  14. BEGIN_MESSAGE_MAP(COGDoc, CDocument)
  15. //{{AFX_MSG_MAP(COGDoc)
  16. //}}AFX_MSG_MAP
  17. END_MESSAGE_MAP()
  18. /////////////////////////////////////////////////////////////////////////////
  19. // COGDoc construction/destruction
  20. COGDoc::COGDoc()
  21. {
  22. }
  23. COGDoc::~COGDoc()
  24. {
  25. }
  26. BOOL COGDoc::OnNewDocument()
  27. {
  28. if (!CDocument::OnNewDocument())
  29. return FALSE;
  30. return TRUE;
  31. }
  32. /////////////////////////////////////////////////////////////////////////////
  33. // COGDoc serialization
  34. void COGDoc::Serialize(CArchive& ar)
  35. {
  36. if (ar.IsStoring())
  37. {
  38. }
  39. else
  40. {
  41. }
  42. }
  43. /////////////////////////////////////////////////////////////////////////////
  44. // COGDoc diagnostics
  45. #ifdef _DEBUG
  46. void COGDoc::AssertValid() const
  47. {
  48. CDocument::AssertValid();
  49. }
  50. void COGDoc::Dump(CDumpContext& dc) const
  51. {
  52. CDocument::Dump(dc);
  53. }
  54. #endif //_DEBUG
  55. /////////////////////////////////////////////////////////////////////////////
  56. // COGDoc commands