Debugger: remove unused CdbCommand

Change-Id: Idad2b62ca60da1749970ced21445c2d82bc2a798
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
David Schulz
2022-07-01 14:06:18 +02:00
parent dc94ce83ac
commit 5a2b8a6218
2 changed files with 0 additions and 13 deletions

View File

@@ -156,16 +156,6 @@ namespace Internal {
static const char localsPrefixC[] = "local."; static const char localsPrefixC[] = "local.";
// Base data structure for command queue entries with callback
class CdbCommand
{
public:
CdbCommand() = default;
CdbCommand(CdbEngine::CommandHandler h) : handler(h) {}
CdbEngine::CommandHandler handler;
};
// Accessed by DebuggerRunTool // Accessed by DebuggerRunTool
DebuggerEngine *createCdbEngine() DebuggerEngine *createCdbEngine()
{ {

View File

@@ -39,14 +39,11 @@
namespace Debugger { namespace Debugger {
namespace Internal { namespace Internal {
class CdbCommand;
class CdbEngine : public CppDebuggerEngine class CdbEngine : public CppDebuggerEngine
{ {
Q_OBJECT Q_OBJECT
public: public:
using CdbCommandPtr = QSharedPointer<CdbCommand>;
using CommandHandler = std::function<void (const DebuggerResponse &)>; using CommandHandler = std::function<void (const DebuggerResponse &)>;
explicit CdbEngine(); explicit CdbEngine();