Team Fortress 2 Source Code as on 22/4/2020
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.

77 lines
2.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #if !defined(AFX_SWITCHPROPS_H__D6AFABE1_5BD5_11D3_A5CF_005004039597__INCLUDED_)
  9. #define AFX_SWITCHPROPS_H__D6AFABE1_5BD5_11D3_A5CF_005004039597__INCLUDED_
  10. #if _MSC_VER > 1000
  11. #pragma once
  12. #endif // _MSC_VER > 1000
  13. // SwitchProps.h : header file
  14. //
  15. #include "PersistentString.h"
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CSwitchProps dialog
  18. class CSwitchProps : public CPropertyPage
  19. {
  20. // Construction
  21. public:
  22. virtual BOOL OnSetActive();
  23. virtual BOOL OnKillActive();
  24. CSwitchProps(CWnd* pParent = NULL); // standard constructor
  25. CPersistentString m_persistDefall;
  26. CPersistentString m_persistDisplayMM2;
  27. CPersistentString m_persistDisplayStartupInfo;
  28. CPersistentString m_persistPersistPlayerStats;
  29. CPersistentString m_persistUseSupportDir;
  30. CPersistentString m_persistElimPlayers;
  31. CPersistentString m_persistElimDays;
  32. CPersistentString m_persistPause;
  33. CPersistentString m_persistPauseSecs;
  34. bool alreadyAcknowledged;
  35. // Dialog Data
  36. //{{AFX_DATA(CSwitchProps)
  37. enum { IDD = IDD_SWITCHES };
  38. CStatic m_OnlyHereToBeDisabledToo;
  39. CStatic m_OnlyHereToBeDisabled;
  40. CButton m_Pause;
  41. CEdit m_PauseSecs;
  42. CButton m_Defall;
  43. CButton m_DisplayStartupInfo;
  44. CEdit m_elimDays;
  45. CButton m_ElimOldPlrs;
  46. CButton m_UseSupportDir;
  47. CButton m_PersistPlayerStats;
  48. CButton m_DisplayMM2;
  49. //}}AFX_DATA
  50. // Overrides
  51. // ClassWizard generated virtual function overrides
  52. //{{AFX_VIRTUAL(CSwitchProps)
  53. protected:
  54. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  55. //}}AFX_VIRTUAL
  56. // Implementation
  57. protected:
  58. // Generated message map functions
  59. //{{AFX_MSG(CSwitchProps)
  60. afx_msg void OnDefall();
  61. afx_msg void OnPlrpersist();
  62. //}}AFX_MSG
  63. DECLARE_MESSAGE_MAP()
  64. };
  65. //{{AFX_INSERT_LOCATION}}
  66. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  67. #endif // !defined(AFX_SWITCHPROPS_H__D6AFABE1_5BD5_11D3_A5CF_005004039597__INCLUDED_)