diff options
author | Kevin Rocard <kevinx.rocard@intel.com> | 2012-06-18 13:56:05 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:10 +0100 |
commit | 170f0a44b8309a954cd4802e85ac3dd6944a35fa (patch) | |
tree | 3b24f1b914424c623a8dc318863e23c41376d8e6 /parameter/ConfigurableDomains.cpp | |
parent | a2a91058deb15b21baed892e2e27cb2d49e824ed (diff) | |
download | external_parameter-framework-170f0a44b8309a954cd4802e85ac3dd6944a35fa.zip external_parameter-framework-170f0a44b8309a954cd4802e85ac3dd6944a35fa.tar.gz external_parameter-framework-170f0a44b8309a954cd4802e85ac3dd6944a35fa.tar.bz2 |
PFW: Add a command to delete all domains
BZ: 42432
This command is useful to reset all PFW settings.
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
Change-Id: I23b74c45205739aeca71278979699b6b88f3111e
Reviewed-on: http://android.intel.com:8080/53332
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com>
Tested-by: Mendi, EduardoX <eduardox.mendi@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/ConfigurableDomains.cpp')
-rw-r--r-- | parameter/ConfigurableDomains.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/parameter/ConfigurableDomains.cpp b/parameter/ConfigurableDomains.cpp index 28611d3..706767b 100644 --- a/parameter/ConfigurableDomains.cpp +++ b/parameter/ConfigurableDomains.cpp @@ -157,6 +157,14 @@ bool CConfigurableDomains::deleteDomain(const string& strName, string& strError) return true; } +void CConfigurableDomains::deleteAllDomains() +{ + log("Deleting all configurable domains"); + + //remove Children + clean(); +} + bool CConfigurableDomains::renameDomain(const string& strName, const string& strNewName, string& strError) { CConfigurableDomain* pConfigurableDomain = findConfigurableDomain(strName, strError); |