summaryrefslogtreecommitdiff
path: root/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2009-12-09 13:54:46 +0100
committerTobias Hunger <tobias.hunger@nokia.com>2009-12-09 18:39:03 +0100
commitec025c6dbf1b3c9b6ff4ac7859d61f03b35c21f4 (patch)
tree5e3d5b2a0fcbd4928826466e59394a43c8b1b0d0 /src/plugins/qt4projectmanager/qt-s60/winscwparser.h
parenta0abde6306571fb7f12fe1d176cec1c8dba4d358 (diff)
downloadqt-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/qt4projectmanager/qt-s60/winscwparser.h')
-rw-r--r--src/plugins/qt4projectmanager/qt-s60/winscwparser.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/plugins/qt4projectmanager/qt-s60/winscwparser.h b/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
index 5b41db1859..8c5b485aab 100644
--- a/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
+++ b/src/plugins/qt4projectmanager/qt-s60/winscwparser.h
@@ -30,25 +30,25 @@
#ifndef WINSCWPARSER_H
#define WINSCWPARSER_H
-#include <projectexplorer/ibuildparser.h>
+#include <projectexplorer/ioutputparser.h>
#include <QtCore/QRegExp>
namespace Qt4ProjectManager {
-class WinscwParser : public ProjectExplorer::IBuildParser
+class WinscwParser : public ProjectExplorer::IOutputParser
{
Q_OBJECT
public:
WinscwParser();
- QString name() const;
- virtual void stdOutput(const QString & line);
- virtual void stdError(const QString & line);
+
+ virtual void stdOutput(const QString &line);
+ virtual void stdError(const QString &line);
+
private:
QRegExp m_compilerProblem;
QRegExp m_linkerProblem;
- QRegExp m_makeDir;
};
} // namespace Qt4ProjectManager