forked from qt-creator/qt-creator
Debugger: Remove output processor from RunControl
The same functionality is available by using signals of the RunControl.
This reverts ca3bcd81 partially.
Change-Id: Id1d4d6e8326be60cdbe7c862dab46f49dbc6abe7
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -45,19 +45,6 @@ DEBUGGER_EXPORT DebuggerRunControl *createDebuggerRunControl(const DebuggerStart
|
||||
QString *errorMessage,
|
||||
Core::Id runMode = ProjectExplorer::Constants::DEBUG_RUN_MODE);
|
||||
|
||||
|
||||
struct OutputProcessor
|
||||
{
|
||||
enum OutputChannel
|
||||
{
|
||||
StandardOut,
|
||||
StandardError
|
||||
};
|
||||
|
||||
std::function<void(const QString &msg, OutputChannel channel)> process;
|
||||
bool logToAppOutputPane = true;
|
||||
};
|
||||
|
||||
class DEBUGGER_EXPORT DebuggerRunControl : public ProjectExplorer::RunControl
|
||||
{
|
||||
Q_OBJECT
|
||||
@@ -89,8 +76,6 @@ public:
|
||||
|
||||
DebuggerStartParameters &startParameters();
|
||||
|
||||
void setOutputProcessor(OutputProcessor *processor);
|
||||
|
||||
signals:
|
||||
void requestRemoteSetup();
|
||||
void aboutToNotifyInferiorSetupOk();
|
||||
@@ -100,7 +85,6 @@ private:
|
||||
void handleFinished();
|
||||
|
||||
Internal::DebuggerEngine *m_engine;
|
||||
OutputProcessor *m_outputProcessor = 0;
|
||||
};
|
||||
|
||||
} // namespace Debugger
|
||||
|
||||
Reference in New Issue
Block a user