summaryrefslogtreecommitdiffstats
path: root/configmgr/source/modifications.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-01 18:55:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-01 18:58:20 +0200
commite96b8bd4d4fd4bce48bacf69bed5d5fe10237dec (patch)
tree780934114e46ed2e52061010ffc2bbde684f24c5 /configmgr/source/modifications.hxx
parentdconf: Change the way set elements are encoded (diff)
downloadcore-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.hxx2
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_;}