]> icculus.org git repositories - taylor/freespace2.git/blob - include/helpeddoc.h
embed standalone web in executable
[taylor/freespace2.git] / include / helpeddoc.h
1 /*
2  * Copyright (C) Volition, Inc. 1999.  All rights reserved.
3  *
4  * All source code herein is the property of Volition, Inc. You may not sell 
5  * or otherwise commercially exploit the source or things you created based on
6  * the source.
7  */
8
9 // HelpEdDoc.h : interface of the CHelpEdDoc class
10 //
11 /////////////////////////////////////////////////////////////////////////////
12
13 #if !defined(AFX_HELPEDDOC_H__159085CA_C1B5_11D2_9904_00A0CC39C0BE__INCLUDED_)
14 #define AFX_HELPEDDOC_H__159085CA_C1B5_11D2_9904_00A0CC39C0BE__INCLUDED_
15
16 #if _MSC_VER > 1000
17 #pragma once
18 #endif // _MSC_VER > 1000
19
20 #include "helpedline.h"
21
22 class CHelpEdDoc : public CDocument
23 {
24 protected: // create from serialization only
25         CHelpEdDoc();
26         DECLARE_DYNCREATE(CHelpEdDoc)
27
28 // Attributes
29 public:
30
31 // Operations
32 public:
33
34 // Overrides
35         // ClassWizard generated virtual function overrides
36         //{{AFX_VIRTUAL(CHelpEdDoc)
37         public:
38         virtual BOOL OnNewDocument();
39         virtual void Serialize(CArchive& ar);
40         //}}AFX_VIRTUAL
41
42 // Implementation
43 public:
44         int get_line_count();
45         HelpEdLine * AddLine(CPoint pointFrom, CPoint pointTo);
46         virtual ~CHelpEdDoc();
47 #ifdef _DEBUG
48         virtual void AssertValid() const;
49         virtual void Dump(CDumpContext& dc) const;
50 #endif
51
52 protected:
53
54 // Generated message map functions
55 protected:
56         //{{AFX_MSG(CHelpEdDoc)
57                 // NOTE - the ClassWizard will add and remove member functions here.
58                 //    DO NOT EDIT what you see in these blocks of generated code !
59         //}}AFX_MSG
60         DECLARE_MESSAGE_MAP()
61 private:
62         CObArray line_array;
63 };
64
65 /////////////////////////////////////////////////////////////////////////////
66
67 //{{AFX_INSERT_LOCATION}}
68 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
69
70 #endif // !defined(AFX_HELPEDDOC_H__159085CA_C1B5_11D2_9904_00A0CC39C0BE__INCLUDED_)
71