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 /utils/SteamDebugHelper/SteamDebugHelperDlg.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'utils/SteamDebugHelper/SteamDebugHelperDlg.h')
| -rw-r--r-- | utils/SteamDebugHelper/SteamDebugHelperDlg.h | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/utils/SteamDebugHelper/SteamDebugHelperDlg.h b/utils/SteamDebugHelper/SteamDebugHelperDlg.h new file mode 100644 index 0000000..6ab72d1 --- /dev/null +++ b/utils/SteamDebugHelper/SteamDebugHelperDlg.h @@ -0,0 +1,76 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +// +//=============================================================================// +// SteamDebugHelperDlg.h : header file +// + +#if !defined(AFX_STEAMDEBUGHELPERDLG_H__E56B9648_8997_47D7_BEE1_CA0B572B380B__INCLUDED_) +#define AFX_STEAMDEBUGHELPERDLG_H__E56B9648_8997_47D7_BEE1_CA0B572B380B__INCLUDED_ + +#if _MSC_VER > 1000 +#pragma once +#endif // _MSC_VER > 1000 + +#include "KeyValues.h" + +///////////////////////////////////////////////////////////////////////////// +// CSteamDebugHelperDlg dialog + +class CSteamDebugHelperDlg : public CDialog +{ +// Construction +public: + CSteamDebugHelperDlg(CWnd* pParent = NULL); // standard constructor + +// Dialog Data + //{{AFX_DATA(CSteamDebugHelperDlg) + enum { IDD = IDD_STEAMDEBUGHELPER_DIALOG }; + // NOTE: the ClassWizard will add data members here + //}}AFX_DATA + + // ClassWizard generated virtual function overrides + //{{AFX_VIRTUAL(CSteamDebugHelperDlg) + protected: + virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support + //}}AFX_VIRTUAL + + void SetConfigFilename( const char *pName ); + + CString m_ConfigFilename; + KeyValues* LoadConfigFile(); + + + // Extracted from the kv file. + const char *m_pSourceExeDir; + KeyValues *m_pSteamAppCfg; + + const char *m_pSteamAppDir; + char m_SteamBaseDir[512]; + + +// Implementation +protected: + HICON m_hIcon; + + // Generated message map functions + //{{AFX_MSG(CSteamDebugHelperDlg) + virtual BOOL OnInitDialog(); + afx_msg void OnPaint(); + afx_msg HCURSOR OnQueryDragIcon(); + afx_msg void OnSetupForDebugging(); + afx_msg void OnUnsetupForDebugging(); + afx_msg void OnStartSteam(); + afx_msg void OnEditConfigFile(); + afx_msg void OnEditChooseConfigFile(); + //}}AFX_MSG + DECLARE_MESSAGE_MAP() +}; + +//{{AFX_INSERT_LOCATION}} +// Microsoft Visual C++ will insert additional declarations immediately before the previous line. + +#endif // !defined(AFX_STEAMDEBUGHELPERDLG_H__E56B9648_8997_47D7_BEE1_CA0B572B380B__INCLUDED_) |