API Documentation
|
Logic for checking or enabling software features. Certain capabilities will be locked by default without a user activation or without NDEVR issued IDs. More...
#include <FeatureOptions.h>
Public Member Functions | |
void | performAudit () |
Static Public Member Functions | |
static String | CredentialOwner () |
static FeatureOptions & | Default () |
static void | DisableOption (const String &resource) |
static void | EnableOption (const String &resource, const String &password) |
static bool | IsFeatureEnabled (const String &resource) |
static bool | IsSoftwareActivated () |
static void | SetCheckActivationOverride (std::function< void()> function) |
static void | SetCredentialOwner (const String &owner, const String &password) |
static TimeSpan | SoftwareActivationTimespan () |
static void | ThrowIfNotEnabled (const String &resource) |
Protected Attributes | |
Set< String > | m_features |
String | m_owner |
Static Protected Attributes | |
static std::function< void()> | s_check_activation_function |
Logic for checking or enabling software features. Certain capabilities will be locked by default without a user activation or without NDEVR issued IDs.
|
static |
|
static |
|
static |
|
static |
|
static |
void performAudit | ( | ) |
|
static |
|
static |
|
static |
|
protected |
|
staticprotected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |