W3DViewView.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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. // W3DViewView.h : interface of the CW3DViewView class
  19. //
  20. /////////////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_W3DVIEWVIEW_H__2BB39E33_5D3A_11D2_9FC6_00104B791122__INCLUDED_)
  22. #define AFX_W3DVIEWVIEW_H__2BB39E33_5D3A_11D2_9FC6_00104B791122__INCLUDED_
  23. #if _MSC_VER >= 1000
  24. #pragma once
  25. #endif // _MSC_VER >= 1000
  26. class CW3DViewView : public CView
  27. {
  28. protected: // create from serialization only
  29. CW3DViewView();
  30. DECLARE_DYNCREATE(CW3DViewView)
  31. // Attributes
  32. public:
  33. CW3DViewDoc* GetDocument();
  34. // Operations
  35. public:
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CW3DViewView)
  39. public:
  40. virtual void OnDraw(CDC* pDC); // overridden to draw this view
  41. virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  42. protected:
  43. //}}AFX_VIRTUAL
  44. // Implementation
  45. public:
  46. virtual ~CW3DViewView();
  47. #ifdef _DEBUG
  48. virtual void AssertValid() const;
  49. virtual void Dump(CDumpContext& dc) const;
  50. #endif
  51. protected:
  52. // Generated message map functions
  53. protected:
  54. //{{AFX_MSG(CW3DViewView)
  55. //}}AFX_MSG
  56. DECLARE_MESSAGE_MAP()
  57. };
  58. #ifndef _DEBUG // debug version in W3DViewView.cpp
  59. inline CW3DViewDoc* CW3DViewView::GetDocument()
  60. { return (CW3DViewDoc*)m_pDocument; }
  61. #endif
  62. /////////////////////////////////////////////////////////////////////////////
  63. //{{AFX_INSERT_LOCATION}}
  64. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  65. #endif // !defined(AFX_W3DVIEWVIEW_H__2BB39E33_5D3A_11D2_9FC6_00104B791122__INCLUDED_)