ImagingTools Core SDK
CProductLicensingInfoComp.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 <icomp/CComponentBase.h>
7
8// ImtCore includes
9#include <imtlic/CProductLicensingInfo.h>
10
11
12namespace imtlic
13{
14
15
21 public icomp::CComponentBase,
22 virtual public CProductLicensingInfo
23{
24public:
25 typedef icomp::CComponentBase BaseClass;
27
28 I_BEGIN_COMPONENT(CProductLicensingInfoComp)
29 I_REGISTER_INTERFACE(ILicenseInfoProvider);
30 I_REGISTER_INTERFACE(iser::ISerializable);
31 I_ASSIGN(m_featurePackagesCompPtr, "FeaturePackages", "Collection of all feature packages related to this product", false, "FeaturePackages");
32 I_END_COMPONENT
33
34protected:
35 // reimplemented (icomp::CComponentBase)
36 virtual void OnComponentCreated() override;
37
38protected:
39 I_REF(imtbase::IObjectCollection, m_featurePackagesCompPtr);
40};
41
42
43} // namespace imtlic
44
45
Core licensing domain model providing feature-based product licensing and instance management.