CoverSpotInfoPage.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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. #if !defined(AFX_COVERSPOTINFOPAGE_H__2D902CA1_3328_11D4_A0A1_00104B791122__INCLUDED_)
  19. #define AFX_COVERSPOTINFOPAGE_H__2D902CA1_3328_11D4_A0A1_00104B791122__INCLUDED_
  20. #if _MSC_VER > 1000
  21. #pragma once
  22. #endif // _MSC_VER > 1000
  23. #ifndef __AFXEXT_H__
  24. #include <afxext.h>
  25. #endif
  26. class CoverSpotNodeClass;
  27. #include "DockableForm.h"
  28. #include "resource.h"
  29. /////////////////////////////////////////////////////////////////////////////
  30. //
  31. // CoverSpotInfoPageClass
  32. //
  33. /////////////////////////////////////////////////////////////////////////////
  34. class CoverSpotInfoPageClass : public DockableFormClass
  35. {
  36. public:
  37. CoverSpotInfoPageClass (void);
  38. CoverSpotInfoPageClass (CoverSpotNodeClass *cover_spot);
  39. virtual ~CoverSpotInfoPageClass (void);
  40. // Form Data
  41. public:
  42. //{{AFX_DATA(CoverSpotInfoPageClass)
  43. enum { IDD = IDD_COVERSPOT_INFO };
  44. // NOTE: the ClassWizard will add data members here
  45. //}}AFX_DATA
  46. // Attributes
  47. public:
  48. // Operations
  49. public:
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(CoverSpotInfoPageClass)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. #ifdef _DEBUG
  59. virtual void AssertValid() const;
  60. virtual void Dump(CDumpContext& dc) const;
  61. #endif
  62. // Generated message map functions
  63. //{{AFX_MSG(CoverSpotInfoPageClass)
  64. afx_msg void OnAddAttackLocation();
  65. //}}AFX_MSG
  66. DECLARE_MESSAGE_MAP()
  67. public:
  68. ///////////////////////////////////////////////////////
  69. // Public methods
  70. ///////////////////////////////////////////////////////
  71. void HandleInitDialog (void);
  72. bool Apply_Changes (void);
  73. protected:
  74. ///////////////////////////////////////////////////////
  75. // Inline accessors
  76. ///////////////////////////////////////////////////////
  77. private:
  78. ///////////////////////////////////////////////////////
  79. // Private member data
  80. ///////////////////////////////////////////////////////
  81. CoverSpotNodeClass * m_CoverSpot;
  82. };
  83. /////////////////////////////////////////////////////////////////////////////
  84. //{{AFX_INSERT_LOCATION}}
  85. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  86. #endif // !defined(AFX_COVERSPOTINFOPAGE_H__2D902CA1_3328_11D4_A0A1_00104B791122__INCLUDED_)