Entitlements.h header
#include <ew/core/Entitlements.h>
Namespace ew::core
Entitlements class
class ew::core::Entitlements
Decides whether a licensed feature is available to the current user. Concrete implementations back this with a license tier (see docs/DESIGN.md section 4.19); UI and services query this seam rather than checking license state directly, and it must always degrade gracefully — never blocking access to a user's own data.
Members
ew::core::Entitlements::Entitlements()=default
Defaulted.
virtual ew::core::Entitlements::~Entitlements()=default
Defaulted.
ew::core::Entitlements::Entitlements(const Entitlements &)=delete
Interface type: non-copyable and non-movable (held via pointer/reference).
ew::core::Entitlements::Entitlements(Entitlements &&)=delete
Not movable.
Entitlements & ew::core::Entitlements::operator=(const Entitlements &)=delete
Not copyable.
Entitlements & ew::core::Entitlements::operator=(Entitlements &&)=delete
Not movable.
virtual bool ew::core::Entitlements::isFeatureEnabled(QStringView featureId) const =0
Returns true if the feature identified by featureId is available to the current user.
featureId
A stable feature key (e.g. "export.website").