mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 01:39:36 +00:00
1
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
//========= 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 */
|
||||
Reference in New Issue
Block a user