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 /tracker/common/DebugConsole_Interface.h | |
| download | archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.tar.xz archived-source-engine-2018-hl2-src-3bf9df6b2785fa6d951086978a3e66f49427166a.zip | |
Diffstat (limited to 'tracker/common/DebugConsole_Interface.h')
| -rw-r--r-- | tracker/common/DebugConsole_Interface.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tracker/common/DebugConsole_Interface.h b/tracker/common/DebugConsole_Interface.h new file mode 100644 index 0000000..4462046 --- /dev/null +++ b/tracker/common/DebugConsole_Interface.h @@ -0,0 +1,30 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//============================================================================= + +#ifndef DEBUGCONSOLE_INTERFACE_H +#define DEBUGCONSOLE_INTERFACE_H +#pragma once + +#include "interface.h" + +//----------------------------------------------------------------------------- +// Purpose: Debugging console interface +//----------------------------------------------------------------------------- +class IDebugConsole : public IBaseInterface +{ +public: + virtual void Initialize( const char *consoleName, int logLevel ) = 0; + virtual void Print( int severity, PRINTF_FORMAT_STRING const char *msgDescriptor, ... ) = 0; + + // gets a line of command input + // returns true if anything returned, false otherwise + virtual bool GetInput(char *buffer, int bufferSize) = 0; +}; + +#define DEBUGCONSOLE_INTERFACE_VERSION "DebugConsole001" + +#endif // DEBUGCONSOLE_INTERFACE_H |