Files
qt-creator/src/plugins/debugger/msvcdebugoutput.h

44 lines
775 B
C
Raw Normal View History

2009-02-09 11:35:43 +01:00
#ifndef __MSVCDEBUGOUTPUT_H__
#define __MSVCDEBUGOUTPUT_H__
namespace Debugger {
namespace Internal {
class MSVCDebugEngine;
class MSVCDebugOutput : public IDebugOutputCallbacks
{
public:
MSVCDebugOutput(MSVCDebugEngine* engine)
: m_pEngine(engine)
{}
// 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
);
private:
MSVCDebugEngine* m_pEngine;
};
} // namespace Internal
} // namespace Debugger
#endif // #ifndef __MSVCDEBUGOUTPUT_H__