ImagingTools Core SDK
ILicenseController.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 <ilog/IMessageConsumer.h>
7
8
9namespace imtlic
10{
11
12
22class ILicenseController: virtual public istd::IPolymorphic
23{
24public:
32 virtual bool ImportLicense(const QString& licenseFilePath, ilog::IMessageConsumer* logPtr = nullptr) const = 0;
33
39 virtual bool CheckLicense(const QByteArray& key) const = 0;
40
47 virtual bool CheckLicense(const QByteArray& key, const QString& licensePath) const = 0;
48};
49
50
51} // namespace imtlic
52
53
virtual bool ImportLicense(const QString &licenseFilePath, ilog::IMessageConsumer *logPtr=nullptr) const =0
virtual bool CheckLicense(const QByteArray &key) const =0
virtual bool CheckLicense(const QByteArray &key, const QString &licensePath) const =0
Core licensing domain model providing feature-based product licensing and instance management.