AVBlocks for C++
3.0
Audio and Video Software Development Kit
|
Provides information about the current license state of the library. More...
#include <license.h>
Public Member Functions | |
virtual bool_t | isLicensed (const char *product, const char *feature)=0 |
Checks whether a product feature is licensed. | |
virtual int32_t | licenseStatus ()=0 |
Gets the current license status. | |
Public Member Functions inherited from Reference | |
virtual int32_t | release () const =0 |
Releases the instance. | |
virtual int32_t | retain () const =0 |
Retains the instance. | |
virtual int32_t | retainCount () const =0 |
Returns the current reference count. | |
Provides information about the current license state of the library.
A LicenseInfo object is obtained by calling Library::createLicenseInfo() The created object must be released when it is not needed anymore.
|
pure virtual |
Checks whether a product feature is licensed.
product | The product Id. If NULL the default library product is implied. |
feature | The feature Id. If NULL the default product feature is implied. |
If a product is licensed for a limited set of features then the function will return TRUE for that product only if the feature parameter specifies one of the licensed features or is NULL.
|
pure virtual |
Gets the current license status.