diff options
author | David Wagner <david.wagner@intel.com> | 2015-01-06 14:52:49 +0100 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2015-01-22 12:02:31 +0100 |
commit | d39b189e045353199ad852aaf2816c93864c7e88 (patch) | |
tree | f07f57550668189e6ca3687662c9de2272556b3f /parameter/ParameterMgr.h | |
parent | fd21197b84f46ba53ace3a1b9d0c05596815dd51 (diff) | |
download | external_parameter-framework-d39b189e045353199ad852aaf2816c93864c7e88.zip external_parameter-framework-d39b189e045353199ad852aaf2816c93864c7e88.tar.gz external_parameter-framework-d39b189e045353199ad852aaf2816c93864c7e88.tar.bz2 |
ParameterMgr: Add more tuning methods to the C++ public API
These methods are:
- renameDomain
- setSequenceAwareness
- getSequenceAwareness
- renameConfiguration
- setElementSequence
- setApplicationRule
- getApplicationRule
- clearApplicationRule
The "remote tuning" methods are also modified to use them instead of directly
accessing inner objects and the tuning mode checking is moved to the public C++
method when applicable.
Change-Id: I9cdd0abbacb76232cd746878dca9ab619e8b6b58
Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'parameter/ParameterMgr.h')
-rw-r--r-- | parameter/ParameterMgr.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h index 7962294..fcba462 100644 --- a/parameter/ParameterMgr.h +++ b/parameter/ParameterMgr.h @@ -221,10 +221,17 @@ public: ////////// Configuration/Domains handling ////////////// // Creation/Deletion bool createDomain(const std::string& strName, std::string& strError); + bool renameDomain(const std::string& strName, const std::string& strNewName, + std::string& strError); bool deleteDomain(const std::string& strName, std::string& strError); bool deleteAllDomains(std::string& strError); + bool setSequenceAwareness(const std::string& strName, bool bSequenceAware, + std::string& strResult); + bool getSequenceAwareness(const std::string& strName, bool& bSequenceAware, + std::string& strResult); bool createConfiguration(const std::string& strDomain, const std::string& strConfiguration, std::string& strError); bool deleteConfiguration(const std::string& strDomain, const std::string& strConfiguration, std::string& strError); + bool renameConfiguration(const std::string& strDomain, const std::string& strConfiguration, const std::string& strNewConfiguration, std::string& strError); // Save/Restore bool restoreConfiguration(const std::string& strDomain, const std::string& strConfiguration, std::list<std::string>& strError); @@ -234,6 +241,16 @@ public: bool addConfigurableElementToDomain(const std::string& strDomain, const std::string& strConfigurableElementPath, std::string& strError); bool removeConfigurableElementFromDomain(const std::string& strDomain, const std::string& strConfigurableElementPath, std::string& strError); bool split(const std::string& strDomain, const std::string& strConfigurableElementPath, std::string& strError); + bool setElementSequence(const std::string& strDomain, const std::string& strConfiguration, + const std::vector<std::string>& astrNewElementSequence, + std::string& strError); + + bool getApplicationRule(const std::string& strDomain, const std::string& strConfiguration, + std::string& strResult); + bool setApplicationRule(const std::string& strDomain, const std::string& strConfiguration, + const std::string& strApplicationRule, std::string& strError); + bool clearApplicationRule(const std::string& strDomain, const std::string& strConfiguration, + std::string& strError); /** * Method that imports Configurable Domains from an Xml source. |