Umasoft
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups Pages
mfcSimpleDoc.h
1 // mfcSimpleDoc.h : interface of the CSimpleDoc class
2 //
3 // Copyright (c) 2001 Virtual Terrain Project
4 // Free for all uses, see license.txt for details.
5 //
6 
7 #if !defined(_SIMPLEDOC_H_INCLUDED_)
8 #define _SIMPLEDOC_H_INCLUDED_
9 
10 #if _MSC_VER > 1000
11 #pragma once
12 #endif // _MSC_VER > 1000
13 
14 
15 class CSimpleDoc : public CDocument
16 {
17 protected: // create from serialization only
18  CSimpleDoc();
19  DECLARE_DYNCREATE(CSimpleDoc)
20 
21 // Attributes
22 public:
23 
24 // Operations
25 public:
26 
27 // Overrides
28  // ClassWizard generated virtual function overrides
29  //{{AFX_VIRTUAL(CSimpleDoc)
30  public:
31  virtual BOOL OnNewDocument();
32  virtual void Serialize(CArchive& ar);
33  //}}AFX_VIRTUAL
34 
35 // Implementation
36 public:
37  virtual ~CSimpleDoc();
38 #ifdef _DEBUG
39  virtual void AssertValid() const;
40  virtual void Dump(CDumpContext& dc) const;
41 #endif
42 
43 protected:
44 
45 // Generated message map functions
46 protected:
47  //{{AFX_MSG(CSimpleDoc)
48  // NOTE - the ClassWizard will add and remove member functions here.
49  // DO NOT EDIT what you see in these blocks of generated code !
50  //}}AFX_MSG
51  DECLARE_MESSAGE_MAP()
52 };
53 
55 
56 //{{AFX_INSERT_LOCATION}}
57 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
58 
59 #endif // !defined(_SIMPLEDOC_H_INCLUDED_)