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.

64 lines
1.3 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. // ProcessWnd.h : header file
  9. //
  10. /////////////////////////////////////////////////////////////////////////////
  11. // CProcessWnd window
  12. class CProcessWnd : public CWnd
  13. {
  14. // Construction
  15. public:
  16. CProcessWnd();
  17. // Attributes
  18. public:
  19. // pipes:
  20. char *pEditBuf;
  21. UINT uBufLen;
  22. CEdit Edit;
  23. CFont Font;
  24. // Operations
  25. public:
  26. int Execute(LPCTSTR pszCmd, LPCTSTR pszCmdLine);
  27. int Execute(PRINTF_FORMAT_STRING LPCTSTR pszCmd, ...);
  28. void Clear();
  29. void Append(CString str);
  30. void GetReady();
  31. // Overrides
  32. // ClassWizard generated virtual function overrides
  33. //{{AFX_VIRTUAL(CProcessWnd)
  34. //}}AFX_VIRTUAL
  35. // Implementation
  36. public:
  37. virtual ~CProcessWnd();
  38. // Generated message map functions
  39. protected:
  40. BOOL PreTranslateMessage(MSG* pMsg);
  41. CString m_EditText;
  42. CButton m_btnCopyAll;
  43. //{{AFX_MSG(CProcessWnd)
  44. afx_msg void OnTimer(UINT nIDEvent);
  45. afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  46. afx_msg void OnSize(UINT nType, int cx, int cy);
  47. afx_msg void CProcessWnd::OnCopyAll();
  48. //}}AFX_MSG
  49. DECLARE_MESSAGE_MAP()
  50. };
  51. /////////////////////////////////////////////////////////////////////////////