wdumpdoc.h 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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. // wdumpDoc.h : interface of the CWdumpDoc class
  19. //
  20. /////////////////////////////////////////////////////////////////////////////
  21. #if !defined(AFX_WDUMPDOC_H__41C157ED_5631_11D1_8CDB_006097C6A583__INCLUDED_)
  22. #define AFX_WDUMPDOC_H__41C157ED_5631_11D1_8CDB_006097C6A583__INCLUDED_
  23. #if _MSC_VER >= 1000
  24. #pragma once
  25. #endif // _MSC_VER >= 1000
  26. #include "chunk_d.h"
  27. class CWdumpDoc : public CDocument
  28. {
  29. //Moumine 1/2/2002 11:12:25 AM ---Need this as public in project W3dShellExt
  30. #if ! defined _W3DSHELLEXT
  31. protected: // create from serialization only
  32. #else
  33. public:
  34. #endif
  35. CWdumpDoc();
  36. protected:
  37. DECLARE_DYNCREATE(CWdumpDoc)
  38. void Read_File(const char *filename);
  39. // Attributes
  40. public:
  41. ChunkData m_ChunkData;
  42. ChunkItem *m_ChunkItem;
  43. // Operations
  44. public:
  45. // Overrides
  46. // ClassWizard generated virtual function overrides
  47. //{{AFX_VIRTUAL(CWdumpDoc)
  48. public:
  49. virtual BOOL OnNewDocument();
  50. virtual void Serialize(CArchive& ar);
  51. //}}AFX_VIRTUAL
  52. // Implementation
  53. public:
  54. virtual ~CWdumpDoc();
  55. #ifdef _DEBUG
  56. virtual void AssertValid() const;
  57. virtual void Dump(CDumpContext& dc) const;
  58. #endif
  59. protected:
  60. // Generated message map functions
  61. protected:
  62. //{{AFX_MSG(CWdumpDoc)
  63. afx_msg void OnFileOpen();
  64. //}}AFX_MSG
  65. DECLARE_MESSAGE_MAP()
  66. };
  67. /////////////////////////////////////////////////////////////////////////////
  68. //{{AFX_INSERT_LOCATION}}
  69. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
  70. #endif // !defined(AFX_WDUMPDOC_H__41C157ED_5631_11D1_8CDB_006097C6A583__INCLUDED_)