TemplateInfo.h 920 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (c) Contributors to the Open 3D Engine Project.
  3. * For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. *
  5. * SPDX-License-Identifier: Apache-2.0 OR MIT
  6. *
  7. */
  8. #pragma once
  9. #if !defined(Q_MOC_RUN)
  10. #include <QString>
  11. #include <QStringList>
  12. #endif
  13. namespace O3DE::ProjectManager
  14. {
  15. class TemplateInfo
  16. {
  17. public:
  18. TemplateInfo() = default;
  19. TemplateInfo(const TemplateInfo& templateInfo) = default;
  20. TemplateInfo(const QString& path);
  21. virtual ~TemplateInfo() = default;
  22. virtual bool IsValid() const;
  23. QString m_displayName;
  24. QString m_name;
  25. QString m_path;
  26. QString m_summary;
  27. QString m_requirements;
  28. QString m_license;
  29. QStringList m_canonicalTags;
  30. QStringList m_userTags;
  31. bool m_isRemote = false;
  32. };
  33. } // namespace O3DE::ProjectManager