xentara-workbench-plugin v1.2.1
The Xentara Workbench Plugin Framework
Loading...
Searching...
No Matches
xentara::workbench::application::Settings Class Referencefinal

Access to application Settings. More...

#include <xentara/workbench/application/Settings.hpp>

Public Member Functions

auto targetVersion () const -> Version
 Checks the target Xentara version.
 
auto enablePrereleaseFeatures () const -> bool
 Checks whether to enable features of prerelease plugings.
 

Static Public Member Functions

static auto current () -> const Settings &
 Whether to enable developer preview features.
 

Detailed Description

Access to application Settings.

Member Function Documentation

◆ current()

static auto xentara::workbench::application::Settings::current ( ) -> const Settings &
static

Whether to enable developer preview features.

◆ enablePrereleaseFeatures()

auto xentara::workbench::application::Settings::enablePrereleaseFeatures ( ) const -> bool

Checks whether to enable features of prerelease plugings.

Returns
Returns true if features only available in pre-release versions of Plugins should be shown, or false if only features available in the release version of p should be shown.

◆ targetVersion()

auto xentara::workbench::application::Settings::targetVersion ( ) const -> Version

Checks the target Xentara version.

Returns
Returns the version of Xentara that should be targeted.