summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/buildstep.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2009-11-25 19:39:52 +0100
committerdt <qtc-committer@nokia.com>2009-11-30 15:24:31 +0100
commita7a7e4d00213b33ca75ddb60e2a4fbd7b68e2144 (patch)
tree11daed8849952f46fb10943d00526232eedfd9bf /src/plugins/projectexplorer/buildstep.h
parenta312206306e85258e2ee9ac649a9b5ae00a92ef6 (diff)
downloadqt-creator-a7a7e4d00213b33ca75ddb60e2a4fbd7b68e2144.tar.gz
Change IBuildStepFactory::canCreate to take a BuildConfiguration
instead of a Project. Since BuildSteps "should" only care about the BuildConfiguration not the Project. (Not 100% doable, but still.)
Diffstat (limited to 'src/plugins/projectexplorer/buildstep.h')
-rw-r--r--src/plugins/projectexplorer/buildstep.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h
index c210f6af01..78c715495d 100644
--- a/src/plugins/projectexplorer/buildstep.h
+++ b/src/plugins/projectexplorer/buildstep.h
@@ -37,8 +37,6 @@
#include <QtCore/QFutureInterface>
namespace ProjectExplorer {
-// TODO remove this
-class Project;
class BuildConfiguration;
/*
@@ -135,7 +133,7 @@ public:
virtual BuildStep *create(BuildConfiguration *bc, const QString &name) const = 0;
/// Called by the add BuildStep action to check which BuildSteps could be added
/// to the project by this factory, should return a list of names
- virtual QStringList canCreateForProject(Project *pro) const = 0;
+ virtual QStringList canCreateForProject(BuildConfiguration *bc) const = 0;
/// Called to convert an internal name to a displayName
/// Called to clone a BuildStep