diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-09-01 18:55:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-09-01 18:58:20 +0200 |
commit | e96b8bd4d4fd4bce48bacf69bed5d5fe10237dec (patch) | |
tree | 780934114e46ed2e52061010ffc2bbde684f24c5 /configmgr/source/modifications.hxx | |
parent | dconf: Change the way set elements are encoded (diff) | |
download | core-e96b8bd4d4fd4bce48bacf69bed5d5fe10237dec.tar.gz core-e96b8bd4d4fd4bce48bacf69bed5d5fe10237dec.zip |
configmgr: support writing back to dconf (WIP)
Needs to be enabled manually for now by changing CONFIGURATION_LAYERS's tail
from " user:..." to " user:*... dconf:!".
Change-Id: I31cd806f21d2ded376832faf98f49167b7243d1c
Diffstat (limited to 'configmgr/source/modifications.hxx')
-rw-r--r-- | configmgr/source/modifications.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx index 04ad5c34d72e..098992d08fd5 100644 --- a/configmgr/source/modifications.hxx +++ b/configmgr/source/modifications.hxx @@ -45,6 +45,8 @@ public: void remove(Path const & path); + void clear() { root_.children.clear(); } + bool empty() const { return root_.children.empty(); } Node const & getRoot() const { return root_;} |