tizendeploypackagecreationstepfactory.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef TIZENPACKAGEINSTALLATIONFACTORY_H
  2. #define TIZENPACKAGEINSTALLATIONFACTORY_H
  3. #include <projectexplorer/buildstep.h>
  4. namespace Tizen {
  5. namespace Internal {
  6. class TizenPackageInstallationFactory: public ProjectExplorer::IBuildStepFactory
  7. {
  8. Q_OBJECT
  9. public:
  10. explicit TizenPackageInstallationFactory(QObject *parent = 0);
  11. QList<Core::Id> availableCreationIds(ProjectExplorer::BuildStepList *parent) const;
  12. QString displayNameForId(const Core::Id id) const;
  13. bool canCreate(ProjectExplorer::BuildStepList *parent,
  14. const Core::Id id) const;
  15. ProjectExplorer::BuildStep *create(ProjectExplorer::BuildStepList *parent, const Core::Id id);
  16. bool canRestore(ProjectExplorer::BuildStepList *parent,
  17. const QVariantMap &map) const;
  18. ProjectExplorer::BuildStep *restore(ProjectExplorer::BuildStepList *parent, const QVariantMap &map);
  19. bool canClone(ProjectExplorer::BuildStepList *parent,
  20. ProjectExplorer::BuildStep *product) const;
  21. ProjectExplorer::BuildStep *clone(ProjectExplorer::BuildStepList *parent,
  22. ProjectExplorer::BuildStep *product);
  23. };
  24. } // namespace Internal
  25. } // namespace Tizen
  26. #endif // TIZENPACKAGEINSTALLATIONFACTORY_H