forked from qt-creator/qt-creator
* Add a DeployConfiguration class to hold settings related to deployment. * Add BuildStepsList to hold a list of buildsteps * Update BuildConfiguration to use BuildStepLists instead of manageing lists of buildsteps itself. * Update BuildManager to use BuildStepLists in its interfaces * Fix fallout introduced by API changes * Update .user file to new way of storing settings Task-number: QTCREATORBUG-1427 Task-number: QTCREATORBUG-1428 Task-number: QTCREATORBUG-1811 Task-number: QTCREATORBUG-1930
38 lines
1.3 KiB
C++
38 lines
1.3 KiB
C++
#ifndef MAEMODEPLOYSTEPFACTORY_H
|
|
#define MAEMODEPLOYSTEPFACTORY_H
|
|
|
|
#include <projectexplorer/buildstep.h>
|
|
|
|
namespace Qt4ProjectManager {
|
|
namespace Internal {
|
|
|
|
class MaemoDeployStepFactory : public ProjectExplorer::IBuildStepFactory
|
|
{
|
|
public:
|
|
MaemoDeployStepFactory(QObject *parent);
|
|
|
|
virtual QStringList availableCreationIds(ProjectExplorer::BuildStepList *parent) const;
|
|
virtual QString displayNameForId(const QString &id) const;
|
|
|
|
virtual bool canCreate(ProjectExplorer::BuildStepList *parent,
|
|
const QString &id) const;
|
|
virtual ProjectExplorer::BuildStep *
|
|
create(ProjectExplorer::BuildStepList *parent, const QString &id);
|
|
|
|
virtual bool canRestore(ProjectExplorer::BuildStepList *parent,
|
|
const QVariantMap &map) const;
|
|
virtual ProjectExplorer::BuildStep *
|
|
restore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map);
|
|
|
|
virtual bool canClone(ProjectExplorer::BuildStepList *parent,
|
|
ProjectExplorer::BuildStep *product) const;
|
|
virtual ProjectExplorer::BuildStep *
|
|
clone(ProjectExplorer::BuildStepList *parent,
|
|
ProjectExplorer::BuildStep *product);
|
|
};
|
|
|
|
} // namespace Internal
|
|
} // namespace Qt4ProjectManager
|
|
|
|
#endif // MAEMODEPLOYSTEPFACTORY_H
|