diff options
Diffstat (limited to 'configmgr/source')
-rw-r--r-- | configmgr/source/modifications.hxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/configmgr/source/modifications.hxx b/configmgr/source/modifications.hxx index dde84522edc4..5549e14a4d7c 100644 --- a/configmgr/source/modifications.hxx +++ b/configmgr/source/modifications.hxx @@ -24,8 +24,9 @@ #include <boost/unordered_map.hpp> -#include "path.hxx" +#include <config_dconf.h> +#include "path.hxx" namespace configmgr { @@ -45,6 +46,10 @@ public: void remove(Path const & path); +#if ENABLE_DCONF + void clear() { root_.children.clear(); } +#endif + bool empty() const { return root_.children.empty(); } Node const & getRoot() const { return root_;} |