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.
30 lines
963 B
30 lines
963 B
//========= 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
|
|
|