diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /devtools/syncfrommirror/syncfrommirrorDlg.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'devtools/syncfrommirror/syncfrommirrorDlg.h')
| -rw-r--r-- | devtools/syncfrommirror/syncfrommirrorDlg.h | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/devtools/syncfrommirror/syncfrommirrorDlg.h b/devtools/syncfrommirror/syncfrommirrorDlg.h new file mode 100644 index 0000000..2c8e003 --- /dev/null +++ b/devtools/syncfrommirror/syncfrommirrorDlg.h @@ -0,0 +1,78 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +// syncfrommirrorDlg.h : header file +// + +#include "redirect.h" + +#if !defined(AFX_SYNCFROMMIRRORDLG_H__CCDE7319_F912_4B51_A526_4B718AE8E22A__INCLUDED_) +#define AFX_SYNCFROMMIRRORDLG_H__CCDE7319_F912_4B51_A526_4B718AE8E22A__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +///////////////////////////////////////////////////////////////////////////// +// CSyncfrommirrorDlg dialog + +class CSyncfrommirrorDlg : public CDialog +{ +// Construction +public: + CSyncfrommirrorDlg(CWnd* pParent = NULL); // standard constructor + + void RunSync( const char *pszType ); + +// Dialog Data + //{{AFX_DATA(CSyncfrommirrorDlg) + enum { IDD = IDD_SYNCFROMMIRROR_DIALOG }; + CEdit m_Output; + CString m_WorkingFolder; + BOOL m_bHL2; + BOOL m_bTF2; + BOOL m_bHL1Port; + BOOL m_bDOD; + BOOL m_bCSPort; + BOOL m_bMakeCommandPrompts; + //}}AFX_DATA + + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CSyncfrommirrorDlg) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + +// Implementation +protected: + HICON m_hIcon; + + CRedirect m_Redirector; + + // Layout info for resizing. + int m_nEditRightMargin; // Distance from the right side of the edit control to the right side of the client area + int m_nEditBottomMargin; // Distance from the bottom of the edit control to the bottom of the client area + int m_nButtonOffset; // Distance from left side of buttons to the right side of the client area + + void RunCommandLine( const char *pCmdLine, const char *pWorkingDir ); + + // Generated message map functions + //{{AFX_MSG(CSyncfrommirrorDlg) + virtual BOOL OnInitDialog(); + afx_msg void OnPaint(); + afx_msg HCURSOR OnQueryDragIcon(); + virtual void OnOK(); + afx_msg void OnStop(); + afx_msg void OnSize(UINT nType, int cx, int cy); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_SYNCFROMMIRRORDLG_H__CCDE7319_F912_4B51_A526_4B718AE8E22A__INCLUDED_) |