-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdoc.h
81 lines (58 loc) · 1.26 KB
/
doc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/******************************************************************************
File: doc.h
Action: Definition of the CPresDoc class
Params:
Returns:
Comments:
******************************************************************************/
#ifndef _DOC_H
#define _DOC_H
/*
** Includes
*/
class CWorldMap; // Defined in map.h
class CPresDoc : public CDocument
{
protected: // create from serialization only
CPresDoc();
DECLARE_DYNCREATE( CPresDoc );
/*
** Attributes
*/
public:
CWorldMap *m_pMap;
/*
** Operations
*/
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CPresDoc)
public:
virtual BOOL OnNewDocument();
virtual void Serialize(CArchive& ar);
virtual void DeleteContents();
virtual BOOL OnOpenDocument(LPCTSTR lpszPathName);
//}}AFX_VIRTUAL
/*
** Implementation
*/
public:
virtual ~CPresDoc();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
void InitDocument();
/*
** Generated message map functions
*/
protected:
//{{AFX_MSG(CPresDoc)
// NOTE - the ClassWizard will add and remove member functions here.
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif // _DOC_H