SimpleGraphDoc.h 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. /*
  2. ** Command & Conquer Renegade(tm)
  3. ** Copyright 2025 Electronic Arts Inc.
  4. **
  5. ** This program is free software: you can redistribute it and/or modify
  6. ** it under the terms of the GNU General Public License as published by
  7. ** the Free Software Foundation, either version 3 of the License, or
  8. ** (at your option) any later version.
  9. **
  10. ** This program is distributed in the hope that it will be useful,
  11. ** but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ** GNU General Public License for more details.
  14. **
  15. ** You should have received a copy of the GNU General Public License
  16. ** along with this program. If not, see <http://www.gnu.org/licenses/>.
  17. */
  18. // SimpleGraphDoc.h : interface of the CSimpleGraphDoc class
  19. //
  20. /////////////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_SIMPLEGRAPHDOC_H__C44E4EBB_F133_11D3_A08F_00104B791122__INCLUDED_)
  22. #define AFX_SIMPLEGRAPHDOC_H__C44E4EBB_F133_11D3_A08F_00104B791122__INCLUDED_
  23. #if _MSC_VER > 1000
  24. #pragma once
  25. #endif // _MSC_VER > 1000
  26. #include "cardinalspline.h"
  27. class CSimpleGraphDoc : public CDocument
  28. {
  29. protected: // create from serialization only
  30. CSimpleGraphDoc();
  31. DECLARE_DYNCREATE(CSimpleGraphDoc)
  32. // Attributes
  33. public:
  34. // Operations
  35. public:
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CSimpleGraphDoc)
  39. public:
  40. virtual BOOL OnNewDocument();
  41. virtual void Serialize(CArchive& ar);
  42. //}}AFX_VIRTUAL
  43. // Implementation
  44. public:
  45. virtual ~CSimpleGraphDoc();
  46. #ifdef _DEBUG
  47. virtual void AssertValid() const;
  48. virtual void Dump(CDumpContext& dc) const;
  49. #endif
  50. protected:
  51. // Generated message map functions
  52. protected:
  53. //{{AFX_MSG(CSimpleGraphDoc)
  54. // NOTE - the ClassWizard will add and remove member functions here.
  55. // DO NOT EDIT what you see in these blocks of generated code !
  56. //}}AFX_MSG
  57. DECLARE_MESSAGE_MAP()
  58. public:
  59. //////////////////////////////////////////////////////////
  60. // Public methods
  61. //////////////////////////////////////////////////////////
  62. Curve1DClass & Get_Spline (void) { return *m_Spline; }
  63. protected:
  64. //////////////////////////////////////////////////////////
  65. // Protected member data
  66. //////////////////////////////////////////////////////////
  67. Curve1DClass * m_Spline;
  68. };
  69. /////////////////////////////////////////////////////////////////////////////
  70. //{{AFX_INSERT_LOCATION}}
  71. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  72. #endif // !defined(AFX_SIMPLEGRAPHDOC_H__C44E4EBB_F133_11D3_A08F_00104B791122__INCLUDED_)