Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.

36 lines
763 B

5 years ago
//========= Copyright Valve Corporation, All rights reserved. ============//
/* CDbgOutput.h
*****************************************************************************/
#ifndef CDBGOUTPUT_H
# define CDBGOUTPUT_H
class CDbgOutput : public IDebugOutputCallbacks
{
public:
// Ctor/dtor
CDbgOutput();
~CDbgOutput();
// IUnknown.
STDMETHOD( QueryInterface )( THIS_ IN REFIID InterfaceId,
OUT PVOID* Interface );
STDMETHOD_( ULONG, AddRef )( THIS );
STDMETHOD_( ULONG, Release )( THIS );
// IDebugOutputCallbacks.
STDMETHOD( Output )( THIS_ IN ULONG Mask, IN PCSTR Text );
void SetOutputPanel( vgui::VPANEL Target );
private:
int m_iRefCount;
vgui::VPANEL m_Target;
};
#endif /* CDBGOUTPUT_H */
/* CDbgOutput.h */