diff options
author | Tobias Hunger <tobias.hunger@nokia.com> | 2009-12-09 13:54:46 +0100 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@nokia.com> | 2009-12-09 18:39:03 +0100 |
commit | ec025c6dbf1b3c9b6ff4ac7859d61f03b35c21f4 (patch) | |
tree | 5e3d5b2a0fcbd4928826466e59394a43c8b1b0d0 /src/plugins/projectexplorer/msvcparser.h | |
parent | a0abde6306571fb7f12fe1d176cec1c8dba4d358 (diff) | |
download | qt-creator-ec025c6dbf1b3c9b6ff4ac7859d61f03b35c21f4.tar.gz |
Rework Build Parser handling
* Rework IBuildParser:
* Remove name() method.
* Remove enterDirectory and leaveDirectory signals.
* Allow chaining of parsers.
* Rename IBuildParser to IOutputParser.
* Implement GnuMakeParser.
* Remove entering/leaving directory related code from all other parsers
* Move filename fixup heuristic based on entering/leaving directory
massages from gnumake here from AbstractMakeStep.
* Add outputParser method to ToolChain: This removes the need to map
toolchains to BuildParser names in the BuildSteps.
* Enhance AbstractProcessStep to accept a IOutputParser to parse its output.
* Remove AbstractMakeStep.
* Set the appropriate Parsers in all classes deriving from AbstractProcessStep
and append the ToolChain's parser to the parser chain.
* Remove BuildParserFactories: There is no more need for them.
* Remove constants used to identify the BuildParsers.
* Clean up some names:
* Replace stdOut with stdOutput.
* Replace addToTaskWindow with addTask and addToOutputWindow with
addOutput. Do this wherever it is not yet clear that this will end up
in the Task/Output window.
Reviewed-by: dt
Diffstat (limited to 'src/plugins/projectexplorer/msvcparser.h')
-rw-r--r-- | src/plugins/projectexplorer/msvcparser.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/projectexplorer/msvcparser.h b/src/plugins/projectexplorer/msvcparser.h index d3e718a79a..6b90a81c22 100644 --- a/src/plugins/projectexplorer/msvcparser.h +++ b/src/plugins/projectexplorer/msvcparser.h @@ -30,23 +30,23 @@ #ifndef MSVCPARSER_H #define MSVCPARSER_H -#include "ibuildparser.h" +#include "ioutputparser.h" #include "taskwindow.h" #include <QtCore/QRegExp> +#include <QtCore/QString> namespace ProjectExplorer { -class MsvcParser : public ProjectExplorer::IBuildParser +class MsvcParser : public ProjectExplorer::IOutputParser { Q_OBJECT public: MsvcParser(); - QString name() const; - virtual void stdOutput(const QString & line); - virtual void stdError(const QString & line); + virtual void stdOutput(const QString &line); + private: TaskWindow::TaskType toType(int number); QRegExp m_compileRegExp; |