|
ImagingTools Core SDK
|
#include <ILicenseStatus.h>
Inherits istd::IChangeable.
Public Types | |
| enum | LicenseStatusFlags { LSF_LICENSE_VALID = 1 , LSF_LICENSE_INVALID = 2 , LSF_NO_LICENSE = 4 , LSF_LICENSE_EXPIRED = 8 , LSF_GOODWILL = 16 } |
Public Member Functions | |
| virtual int | GetLicenseStatusFlags () const =0 |
| virtual void | SetLicenseStatusFlags (int licenseStatusFlags)=0 |
| virtual QString | GetLicenseLocation () const =0 |
| virtual void | SetLicenseLocation (const QString &licenseLocation)=0 |
| virtual int | GetGoodwillRemainingDays () const =0 |
| virtual void | SetGoodwillRemainingDays (int days)=0 |
Interface for license validation status information.
This interface provides information about the current status of a license, including validity, expiration, and goodwill period information.
Definition at line 21 of file ILicenseStatus.h.
Definition at line 24 of file ILicenseStatus.h.
|
pure virtual |
Get the number of remaining days in the goodwill period. Goodwill period is a grace period after license expiration.
|
pure virtual |
Get the file system location of the license file.
|
pure virtual |
Get the current status flags of the license. Flags can be combined using bitwise OR.
|
pure virtual |
Set the number of remaining days in the goodwill period.
| days | Number of days remaining |
|
pure virtual |
Set the file system location of the license file.
| licenseLocation | Path to the license file |
|
pure virtual |
Set the status flags of the license.
| licenseStatusFlags | Combination of LicenseStatusFlags values |