ImagingTools Core SDK
CLicenseMetaInfoCreatorComp.h
1// SPDX-License-Identifier: LGPL-2.1-or-later OR GPL-2.0-or-later OR GPL-3.0-or-later OR LicenseRef-ImtCore-Commercial
2#pragma once
3
4
5// ACF includes
6#include <idoc/CStandardDocumentMetaInfo.h>
7
8// ImtCore includes
9#include <imtbase/CObjectMetaInfoCreatorCompBase.h>
10
11
12namespace imtlic
13{
14
15
19class CLicenseMetaInfoCreatorComp: public imtbase::CObjectMetaInfoCreatorCompBase
20{
21public:
22 typedef imtbase::CObjectMetaInfoCreatorCompBase BaseClass;
23
24 I_BEGIN_COMPONENT(CLicenseMetaInfoCreatorComp);
25 I_END_COMPONENT;
26
27protected:
28 // reimplemented (imtbase::IMetaInfoCreator)
29 virtual bool CreateMetaInfo(const istd::IChangeable* dataPtr, const QByteArray& typeId, idoc::MetaInfoPtr& metaInfoPtr) const override;
30private:
31 class MetaInfo: public idoc::CStandardDocumentMetaInfo
32 {
33 public:
34 typedef idoc::CStandardDocumentMetaInfo BaseClass;
35
36 // reimplemented (idoc::IDocumentMetaInfo)
37 virtual QString GetMetaInfoName(int metaInfoType) const override;
38 };
39
40};
41
42
43} // namespace imtlic
44
45
Core licensing domain model providing feature-based product licensing and instance management.