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:
Christian Stenger
2017-04-06 15:42:09 +02:00
parent 4b9320d86e
commit 1024d25e93
3 changed files with 14 additions and 48 deletions

View File

@@ -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