Files
qt-creator/src/plugins/debugger/cdb/cdbdebugoutput.h

44 lines
759 B
C
Raw Normal View History

2009-02-09 13:07:38 +01:00
#ifndef DEBUGGER_CDBOUTPUT_H
#define DEBUGGER_CDBOUTPUT_H
2009-02-09 11:35:43 +01:00
namespace Debugger {
namespace Internal {
2009-02-09 13:07:38 +01:00
class CdbDebugEngine;
2009-02-09 11:35:43 +01:00
2009-02-09 13:07:38 +01:00
class CdbDebugOutput : public IDebugOutputCallbacks
2009-02-09 11:35:43 +01:00
{
public:
2009-02-09 13:07:38 +01:00
CdbDebugOutput(CdbDebugEngine* engine)
2009-02-09 11:35:43 +01:00
: 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:
2009-02-09 13:07:38 +01:00
CdbDebugEngine* m_pEngine;
2009-02-09 11:35:43 +01:00
};
} // namespace Internal
} // namespace Debugger
2009-02-09 13:07:38 +01:00
#endif // DEBUGGER_CDBOUTPUT_H