Moved CDB support into separate directory and enable via config switch

This commit is contained in:
Friedemann Kleint
2009-02-20 15:40:51 +01:00
committed by Friedemann Kleint
parent 158285e500
commit d9bc54ed75
8 changed files with 34 additions and 29 deletions

View File

@@ -0,0 +1,43 @@
#ifndef DEBUGGER_CDBOUTPUT_H
#define DEBUGGER_CDBOUTPUT_H
namespace Debugger {
namespace Internal {
class CdbDebugEngine;
class CdbDebugOutput : public IDebugOutputCallbacks
{
public:
CdbDebugOutput(CdbDebugEngine* 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:
CdbDebugEngine* m_pEngine;
};
} // namespace Internal
} // namespace Debugger
#endif // DEBUGGER_CDBOUTPUT_H