Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.5 KiB

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $Workfile: $
  6. // $Date: $
  7. //
  8. //-----------------------------------------------------------------------------
  9. // $Log: $
  10. //
  11. // $NoKeywords: $
  12. //=============================================================================//
  13. #ifndef EDITGAMECONFIGS_H
  14. #define EDITGAMECONFIGS_H
  15. #pragma once
  16. #include "Options.h"
  17. #include "Resource.h"
  18. class CEditGameConfigs : public CDialog
  19. {
  20. // Construction
  21. public:
  22. CEditGameConfigs(BOOL bSelectOnly = FALSE,
  23. CWnd* pParent = NULL); // standard constructor
  24. CGameConfig *GetSelectedGame()
  25. { return m_pSelectedGame; } // get selected game config after dialog is run
  26. // Dialog Data
  27. //{{AFX_DATA(CEditGameConfigs)
  28. enum { IDD = IDD_EDITGAMECONFIGS };
  29. CListBox m_cConfigs;
  30. //}}AFX_DATA
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CEditGameConfigs)
  34. protected:
  35. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  36. //}}AFX_VIRTUAL
  37. // Implementation
  38. protected:
  39. // Generated message map functions
  40. //{{AFX_MSG(CEditGameConfigs)
  41. afx_msg void OnAdd();
  42. afx_msg void OnCopy();
  43. afx_msg void OnRemove();
  44. afx_msg void OnSelchangeConfigs();
  45. virtual BOOL OnInitDialog();
  46. afx_msg void OnDblclkConfigs();
  47. //}}AFX_MSG
  48. DECLARE_MESSAGE_MAP()
  49. BOOL m_bSelectOnly; // just select a game config
  50. CGameConfig *m_pSelectedGame; // last selected game
  51. void FillConfigList(DWORD dwSelectID = 0xffffffff);
  52. };
  53. #endif // EDITGAMECONFIGS_H