Fix convenience overloads for DbgCmdExec
This commit is contained in:
parent
d04e1e6676
commit
73c31f2552
|
|
@ -884,16 +884,6 @@ void* Bridge::processMessage(GUIMSG type, void* param1, void* param2)
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
void DbgCmdExec(const QString & cmd)
|
||||
{
|
||||
DbgCmdExec(cmd.toUtf8().constData());
|
||||
}
|
||||
|
||||
bool DbgCmdExecDirect(const QString & cmd)
|
||||
{
|
||||
return DbgCmdExecDirect(cmd.toUtf8().constData());
|
||||
}
|
||||
|
||||
/************************************************************************************
|
||||
Exported Functions
|
||||
************************************************************************************/
|
||||
|
|
|
|||
|
|
@ -172,7 +172,4 @@ private:
|
|||
volatile bool dbgStopped = false;
|
||||
};
|
||||
|
||||
void DbgCmdExec(const QString & cmd);
|
||||
bool DbgCmdExecDirect(const QString & cmd);
|
||||
|
||||
#endif // BRIDGE_H
|
||||
|
|
|
|||
|
|
@ -0,0 +1,12 @@
|
|||
#include "Imports.h"
|
||||
#include <QString>
|
||||
|
||||
void DbgCmdExec(const QString & cmd)
|
||||
{
|
||||
DbgCmdExec(cmd.toUtf8().constData());
|
||||
}
|
||||
|
||||
bool DbgCmdExecDirect(const QString & cmd)
|
||||
{
|
||||
return DbgCmdExecDirect(cmd.toUtf8().constData());
|
||||
}
|
||||
|
|
@ -11,4 +11,10 @@
|
|||
#include "dbg_types.h"
|
||||
#endif
|
||||
|
||||
// Convenience overloads
|
||||
class QString;
|
||||
|
||||
void DbgCmdExec(const QString & cmd);
|
||||
bool DbgCmdExecDirect(const QString & cmd);
|
||||
|
||||
#endif // IMPORTS_H
|
||||
|
|
|
|||
|
|
@ -76,6 +76,7 @@ RESOURCES += \
|
|||
SOURCES += \
|
||||
Src/Gui/CPURegistersView.cpp \
|
||||
Src/Gui/SystemBreakpointScriptDialog.cpp \
|
||||
Src/Imports.cpp \
|
||||
Src/Tracer/TraceRegisters.cpp \
|
||||
Src/Tracer/TraceWidget.cpp \
|
||||
Src/main.cpp \
|
||||
|
|
|
|||
Loading…
Reference in New Issue