summaryrefslogtreecommitdiff
path: root/src/plugins/cmakeprojectmanager/makestep.h
diff options
context:
space:
mode:
authordt <qtc-committer@nokia.com>2010-03-16 14:36:59 +0100
committerdt <qtc-committer@nokia.com>2010-03-16 17:45:08 +0100
commit0d4fdd291ab85183c937223a0b33e901023ea448 (patch)
treec8ad614682e851cb7c41fde8349b9adec40b5fc5 /src/plugins/cmakeprojectmanager/makestep.h
parent10c3240e406e9784296b3b1a9b9d47e05404fe56 (diff)
downloadqt-creator-0d4fdd291ab85183c937223a0b33e901023ea448.tar.gz
Use a type enum instead of duplicating functions between build and clean
That is e.g. buildSteps() and cleanSteps() --> steps(type)
Diffstat (limited to 'src/plugins/cmakeprojectmanager/makestep.h')
-rw-r--r--src/plugins/cmakeprojectmanager/makestep.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/cmakeprojectmanager/makestep.h b/src/plugins/cmakeprojectmanager/makestep.h
index ede5bb4035..102b73ca60 100644
--- a/src/plugins/cmakeprojectmanager/makestep.h
+++ b/src/plugins/cmakeprojectmanager/makestep.h
@@ -119,14 +119,14 @@ public:
explicit MakeStepFactory(QObject *parent = 0);
virtual ~MakeStepFactory();
- virtual bool canCreate(ProjectExplorer::BuildConfiguration *parent, const QString &id) const;
- virtual ProjectExplorer::BuildStep *create(ProjectExplorer::BuildConfiguration *parent, const QString &id);
- virtual bool canClone(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::BuildStep *source) const;
- virtual ProjectExplorer::BuildStep *clone(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::BuildStep *source);
- virtual bool canRestore(ProjectExplorer::BuildConfiguration *parent, const QVariantMap &map) const;
- virtual ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildConfiguration *parent, const QVariantMap &map);
-
- virtual QStringList availableCreationIds(ProjectExplorer::BuildConfiguration *bc) const;
+ virtual bool canCreate(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::StepType type, const QString &id) const;
+ virtual ProjectExplorer::BuildStep *create(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::StepType type, const QString &id);
+ virtual bool canClone(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::StepType type, ProjectExplorer::BuildStep *source) const;
+ virtual ProjectExplorer::BuildStep *clone(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::StepType type, ProjectExplorer::BuildStep *source);
+ virtual bool canRestore(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::StepType type, const QVariantMap &map) const;
+ virtual ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildConfiguration *parent, ProjectExplorer::StepType type, const QVariantMap &map);
+
+ virtual QStringList availableCreationIds(ProjectExplorer::BuildConfiguration *bc, ProjectExplorer::StepType type) const;
virtual QString displayNameForId(const QString &id) const;
};