SelectionDialog.h 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. /***********************************************************************************************
  19. *** Confidential - Westwood Studios ***
  20. ***********************************************************************************************
  21. * *
  22. * Project Name : LightMap *
  23. * *
  24. * $Archive:: /Commando/Code/Tool $*
  25. * *
  26. * $Author:: Ian_l $*
  27. * *
  28. * $Modtime:: 9/06/00 4:51p $*
  29. * *
  30. * $Revision:: 3 $*
  31. * *
  32. *---------------------------------------------------------------------------------------------*
  33. * Functions: *
  34. * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */
  35. #if !defined(AFX_SELECTIONDIALOG_H__07D3067F_7262_11D4_A3CE_009027447394__INCLUDED_)
  36. #define AFX_SELECTIONDIALOG_H__07D3067F_7262_11D4_A3CE_009027447394__INCLUDED_
  37. #if _MSC_VER > 1000
  38. #pragma once
  39. #endif // _MSC_VER > 1000
  40. class SelectionDialog : public CDialog
  41. {
  42. // Construction
  43. public:
  44. SelectionDialog (DynamicVectorClass <char*> *listptr = NULL, CWnd* pParent = NULL); // standard constructor
  45. int Get_Selection() {return (Selection);}
  46. // Dialog Data
  47. //{{AFX_DATA(SelectionDialog)
  48. enum { IDD = IDD_SELECTION };
  49. // NOTE: the ClassWizard will add data members here
  50. //}}AFX_DATA
  51. // Overrides
  52. // ClassWizard generated virtual function overrides
  53. //{{AFX_VIRTUAL(SelectionDialog)
  54. public:
  55. protected:
  56. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  57. //}}AFX_VIRTUAL
  58. // Implementation
  59. protected:
  60. // Generated message map functions
  61. //{{AFX_MSG(SelectionDialog)
  62. virtual BOOL OnInitDialog();
  63. afx_msg void OnDestroy();
  64. //}}AFX_MSG
  65. DECLARE_MESSAGE_MAP()
  66. DynamicVectorClass <char*> *ListPtr;
  67. int Selection;
  68. };
  69. //{{AFX_INSERT_LOCATION}}
  70. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  71. #endif // !defined(AFX_SELECTIONDIALOG_H__07D3067F_7262_11D4_A3CE_009027447394__INCLUDED_)