diff --git a/src/plugins/projectexplorer/buildstep.h b/src/plugins/projectexplorer/buildstep.h index 54ac93af0b0..47f13bd3a61 100644 --- a/src/plugins/projectexplorer/buildstep.h +++ b/src/plugins/projectexplorer/buildstep.h @@ -155,9 +155,14 @@ class PROJECTEXPLORER_EXPORT IBuildStepFactory public: IBuildStepFactory(); virtual ~IBuildStepFactory(); + // Called to check wheter this factory can restore the named BuildStep virtual bool canCreate(const QString &name) const = 0; + // Called to restore a buildstep virtual BuildStep *create(Project *pro, const QString &name) const = 0; + // Caleld 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; + // Called to convert an internal name to a displayName virtual QString displayNameForName(const QString &name) const = 0; };