LibreOffice Module comphelper (master)
1
|
A batch of configuration changes that is committed as a whole. More...
#include <configuration.hxx>
Public Member Functions | |
~ConfigurationChanges () | |
void | commit () const |
Static Public Member Functions | |
static std::shared_ptr< ConfigurationChanges > | create (css::uno::Reference< css::uno::XComponentContext > const &context=comphelper::getProcessComponentContext()) |
Private Member Functions | |
ConfigurationChanges (const ConfigurationChanges &)=delete | |
ConfigurationChanges & | operator= (const ConfigurationChanges &)=delete |
SAL_DLLPRIVATE | ConfigurationChanges (css::uno::Reference< css::uno::XComponentContext > const &context) |
SAL_DLLPRIVATE void | setPropertyValue (OUString const &path, css::uno::Any const &value) const |
SAL_DLLPRIVATE css::uno::Reference< css::container::XHierarchicalNameReplace > | getGroup (OUString const &path) const |
SAL_DLLPRIVATE css::uno::Reference< css::container::XNameContainer > | getSet (OUString const &path) const |
Private Attributes | |
css::uno::Reference< css::configuration::XReadWriteAccess > | access_ |
Friends | |
class | detail::ConfigurationWrapper |
A batch of configuration changes that is committed as a whole.
Client code needs to call commit explicitly; otherwise the changes are lost when the instance is destroyed.
This is the only class from this header file that client code should use directly.
Definition at line 47 of file configuration.hxx.
comphelper::ConfigurationChanges::~ConfigurationChanges | ( | ) |
Definition at line 76 of file configuration.cxx.
|
privatedelete |
|
private |
Definition at line 82 of file configuration.cxx.
References access_, configuration, and create().
void comphelper::ConfigurationChanges::commit | ( | ) | const |
Definition at line 78 of file configuration.cxx.
References access_.
|
static |
Definition at line 70 of file configuration.cxx.
|
private |
Definition at line 96 of file configuration.cxx.
References access_.
|
private |
Definition at line 103 of file configuration.cxx.
References access_.
|
privatedelete |
|
private |
Definition at line 89 of file configuration.cxx.
References access_.
|
friend |
Definition at line 80 of file configuration.hxx.
|
private |
Definition at line 78 of file configuration.hxx.