forked from qt-creator/qt-creator
debugger: code cosmetics
This commit is contained in:
@@ -86,19 +86,30 @@ extern QString msgNoBinaryForToolChain(int tc);
|
|||||||
// unnecessarily.
|
// unnecessarily.
|
||||||
|
|
||||||
#ifdef CDB_ENABLED
|
#ifdef CDB_ENABLED
|
||||||
DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *errorMessage);
|
|
||||||
|
DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *error);
|
||||||
bool checkCdbConfiguration(int toolChain, QString *errorMsg, QString *settingsPage);
|
bool checkCdbConfiguration(int toolChain, QString *errorMsg, QString *settingsPage);
|
||||||
bool isCdbEngineEnabled(); // Check the configuration page
|
bool isCdbEngineEnabled(); // Check the configuration page
|
||||||
|
|
||||||
#else
|
#else
|
||||||
DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *) { return 0; }
|
|
||||||
bool checkCdbConfiguration(int, QString *, QString *) { return false; }
|
DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool checkCdbConfiguration(int, QString *, QString *)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
} // namespace Internal
|
} // namespace Internal
|
||||||
|
|
||||||
|
|
||||||
namespace Cdb {
|
namespace Cdb {
|
||||||
DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *errorMessage);
|
DebuggerEngine *createCdbEngine(const DebuggerStartParameters &, QString *error);
|
||||||
bool isCdbEngineEnabled(); // Check the configuration page
|
bool isCdbEngineEnabled(); // Check the configuration page
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user