2010-07-12 11:07:36 +02:00
|
|
|
#ifndef MAEMODEPLOYSTEPFACTORY_H
|
|
|
|
|
#define MAEMODEPLOYSTEPFACTORY_H
|
|
|
|
|
|
|
|
|
|
#include <projectexplorer/buildstep.h>
|
|
|
|
|
|
|
|
|
|
namespace Qt4ProjectManager {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
|
|
|
|
class MaemoDeployStepFactory : public ProjectExplorer::IBuildStepFactory
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
MaemoDeployStepFactory(QObject *parent);
|
|
|
|
|
|
2010-07-16 14:00:41 +02:00
|
|
|
virtual QStringList availableCreationIds(ProjectExplorer::BuildStepList *parent) const;
|
2010-07-12 11:07:36 +02:00
|
|
|
virtual QString displayNameForId(const QString &id) const;
|
|
|
|
|
|
2010-07-16 14:00:41 +02:00
|
|
|
virtual bool canCreate(ProjectExplorer::BuildStepList *parent,
|
2010-07-12 11:07:36 +02:00
|
|
|
const QString &id) const;
|
|
|
|
|
virtual ProjectExplorer::BuildStep *
|
2010-07-16 14:00:41 +02:00
|
|
|
create(ProjectExplorer::BuildStepList *parent, const QString &id);
|
2010-07-12 11:07:36 +02:00
|
|
|
|
2010-07-16 14:00:41 +02:00
|
|
|
virtual bool canRestore(ProjectExplorer::BuildStepList *parent,
|
2010-07-12 11:07:36 +02:00
|
|
|
const QVariantMap &map) const;
|
|
|
|
|
virtual ProjectExplorer::BuildStep *
|
2010-07-16 14:00:41 +02:00
|
|
|
restore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map);
|
2010-07-12 11:07:36 +02:00
|
|
|
|
2010-07-16 14:00:41 +02:00
|
|
|
virtual bool canClone(ProjectExplorer::BuildStepList *parent,
|
2010-07-12 11:07:36 +02:00
|
|
|
ProjectExplorer::BuildStep *product) const;
|
|
|
|
|
virtual ProjectExplorer::BuildStep *
|
2010-07-16 14:00:41 +02:00
|
|
|
clone(ProjectExplorer::BuildStepList *parent,
|
2010-07-12 11:07:36 +02:00
|
|
|
ProjectExplorer::BuildStep *product);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace Qt4ProjectManager
|
|
|
|
|
|
|
|
|
|
#endif // MAEMODEPLOYSTEPFACTORY_H
|