Gui::PreferencePack Class Reference

of user preferences stored in files on disk More...

#include <PreferencePackManager.h>

Public Member Functions

bool apply () const
 Apply the PreferencePack over the top of the current preferences set. More...
App::Metadata metadata () const
 Get the complete metadata object for this preference pack. More...
std::string name () const
 Get the name of the PreferencePack. More...
 PreferencePack (const boost::filesystem::path &path, const App::Metadata &metadata)
 Construct a preferencePack from a directory. More...
 ~PreferencePack ()=default

Detailed Description

of user preferences stored in files on disk

Constructor & Destructor Documentation

◆ PreferencePack()

PreferencePack::PreferencePack ( const boost::filesystem::path &  path,
const App::Metadata metadata 

Construct a preferencePack from a directory.

pathA path to a mod directory that contains a preferencePack
metadataThe metadata from the package.xml file describing this preferencePack

◆ ~PreferencePack()

Gui::PreferencePack::~PreferencePack ( )

Member Function Documentation

◆ apply()

◆ metadata()

App::Metadata Gui::PreferencePack::metadata ( ) const

◆ name()

The documentation for this class was generated from the following files: