wdview.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. // wdumpView.h : interface of the CWdumpView class
  19. //
  20. /////////////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_WDUMPVIEW_H__41C157EF_5631_11D1_8CDB_006097C6A583__INCLUDED_)
  22. #define AFX_WDUMPVIEW_H__41C157EF_5631_11D1_8CDB_006097C6A583__INCLUDED_
  23. #if _MSC_VER >= 1000
  24. #pragma once
  25. #endif // _MSC_VER >= 1000
  26. class CWdumpView : public CView
  27. {
  28. protected: // create from serialization only
  29. CWdumpView();
  30. DECLARE_DYNCREATE(CWdumpView)
  31. // Attributes
  32. public:
  33. CWdumpDoc* GetDocument();
  34. // Operations
  35. public:
  36. // Overrides
  37. // ClassWizard generated virtual function overrides
  38. //{{AFX_VIRTUAL(CWdumpView)
  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 ~CWdumpView();
  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(CWdumpView)
  55. // NOTE - the ClassWizard will add and remove member functions here.
  56. // DO NOT EDIT what you see in these blocks of generated code !
  57. //}}AFX_MSG
  58. DECLARE_MESSAGE_MAP()
  59. };
  60. #ifndef _DEBUG // debug version in wdumpView.cpp
  61. inline CWdumpDoc* CWdumpView::GetDocument()
  62. { return (CWdumpDoc*)m_pDocument; }
  63. #endif
  64. /////////////////////////////////////////////////////////////////////////////
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_WDUMPVIEW_H__41C157EF_5631_11D1_8CDB_006097C6A583__INCLUDED_)