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.

78 lines
2.2 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // syncfrommirrorDlg.h : header file
  9. //
  10. #include "redirect.h"
  11. #if !defined(AFX_SYNCFROMMIRRORDLG_H__CCDE7319_F912_4B51_A526_4B718AE8E22A__INCLUDED_)
  12. #define AFX_SYNCFROMMIRRORDLG_H__CCDE7319_F912_4B51_A526_4B718AE8E22A__INCLUDED_
  13. #if _MSC_VER > 1000
  14. #pragma once
  15. #endif // _MSC_VER > 1000
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CSyncfrommirrorDlg dialog
  18. class CSyncfrommirrorDlg : public CDialog
  19. {
  20. // Construction
  21. public:
  22. CSyncfrommirrorDlg(CWnd* pParent = NULL); // standard constructor
  23. void RunSync( const char *pszType );
  24. // Dialog Data
  25. //{{AFX_DATA(CSyncfrommirrorDlg)
  26. enum { IDD = IDD_SYNCFROMMIRROR_DIALOG };
  27. CEdit m_Output;
  28. CString m_WorkingFolder;
  29. BOOL m_bHL2;
  30. BOOL m_bTF2;
  31. BOOL m_bHL1Port;
  32. BOOL m_bDOD;
  33. BOOL m_bCSPort;
  34. BOOL m_bMakeCommandPrompts;
  35. //}}AFX_DATA
  36. // ClassWizard generated virtual function overrides
  37. //{{AFX_VIRTUAL(CSyncfrommirrorDlg)
  38. protected:
  39. virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
  40. //}}AFX_VIRTUAL
  41. // Implementation
  42. protected:
  43. HICON m_hIcon;
  44. CRedirect m_Redirector;
  45. // Layout info for resizing.
  46. int m_nEditRightMargin; // Distance from the right side of the edit control to the right side of the client area
  47. int m_nEditBottomMargin; // Distance from the bottom of the edit control to the bottom of the client area
  48. int m_nButtonOffset; // Distance from left side of buttons to the right side of the client area
  49. void RunCommandLine( const char *pCmdLine, const char *pWorkingDir );
  50. // Generated message map functions
  51. //{{AFX_MSG(CSyncfrommirrorDlg)
  52. virtual BOOL OnInitDialog();
  53. afx_msg void OnPaint();
  54. afx_msg HCURSOR OnQueryDragIcon();
  55. virtual void OnOK();
  56. afx_msg void OnStop();
  57. afx_msg void OnSize(UINT nType, int cx, int cy);
  58. //}}AFX_MSG
  59. DECLARE_MESSAGE_MAP()
  60. };
  61. //{{AFX_INSERT_LOCATION}}
  62. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  63. #endif // !defined(AFX_SYNCFROMMIRRORDLG_H__CCDE7319_F912_4B51_A526_4B718AE8E22A__INCLUDED_)