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