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.

42 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef RAWLOGPANEL_H
  8. #define RAWLOGPANEL_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui_controls/PropertyPage.h>
  13. #include "RemoteServer.h"
  14. namespace vgui
  15. {
  16. class CConsolePanel;
  17. }
  18. //-----------------------------------------------------------------------------
  19. // Purpose: Dialog for displaying information about a game server
  20. //-----------------------------------------------------------------------------
  21. class CRawLogPanel : public vgui::PropertyPage
  22. {
  23. DECLARE_CLASS_SIMPLE( CRawLogPanel, vgui::PropertyPage );
  24. public:
  25. CRawLogPanel(vgui::Panel *parent, const char *name);
  26. ~CRawLogPanel();
  27. // property page handlers
  28. virtual void OnPageShow();
  29. virtual void OnPageHide();
  30. void DoInsertString(const char *str);
  31. private:
  32. MESSAGE_FUNC_CHARPTR( OnCommandSubmitted, "CommandSubmitted", command );
  33. vgui::CConsolePanel *m_pConsole;
  34. };
  35. #endif // RAWLOGPANEL_H