diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2019-07-23 15:45:29 +0300 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2019-07-31 13:12:01 +0000 |
commit | 86747ff36bb162764fd8c2f741a1674d16b0b3cd (patch) | |
tree | ebc9323f57c601ae49af9cff9fe0674fd71bb6ca /src/plugins/generator/iarew/iarewproject.h | |
parent | 2363f13f8fbd001a3544acb2a600010893e4cf80 (diff) |
baremetal: Share common generators code
Common code which are used for the 'iarew' and 'keiluv'
generators was moved to the corelib/generators library.
Besides, this code also can be used in future for the
XML-based generators.
Change-Id: I79a21e3e078d563600d7f365785731fe9e847045
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/generator/iarew/iarewproject.h')
-rw-r--r-- | src/plugins/generator/iarew/iarewproject.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/generator/iarew/iarewproject.h b/src/plugins/generator/iarew/iarewproject.h index 642407bab..567a58c55 100644 --- a/src/plugins/generator/iarew/iarewproject.h +++ b/src/plugins/generator/iarew/iarewproject.h @@ -31,10 +31,9 @@ #ifndef QBS_IAREWPROJECT_H #define QBS_IAREWPROJECT_H -#include "iarewproperty.h" -#include "iarewpropertygroup.h" - #include <generators/generatordata.h> +#include <generators/xmlproject.h> +#include <generators/xmlpropertygroup.h> #include <memory> @@ -42,16 +41,14 @@ namespace qbs { class IarewVersionInfo; -class IarewProject final : public IarewProperty +class IarewProject final : public gen::xml::Project { public: explicit IarewProject(const GeneratableProject &genProject, const GeneratableProductData &genProduct, const IarewVersionInfo &versionInfo); - void accept(IIarewNodeVisitor *visitor) const final; - private: - std::vector<std::unique_ptr<IarewPropertyGroupFactory>> m_factories; + std::vector<std::unique_ptr<gen::xml::PropertyGroupFactory>> m_factories; }; } // namespace qbs |