summaryrefslogtreecommitdiffstats
path: root/parameter/Subsystem.h
diff options
context:
space:
mode:
authorRenaud de Chivre <renaud.de.chivre@intel.com>2013-09-02 10:48:36 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-12 17:04:10 +0100
commit46966e050fdd1ae48c7692ae9818762ba262e781 (patch)
treeecee4e54006b6141af35033a1db2371f405a2335 /parameter/Subsystem.h
parentd55f586c54d9a0c22b27f775ec906e5595bf56d4 (diff)
downloadexternal_parameter-framework-46966e050fdd1ae48c7692ae9818762ba262e781.zip
external_parameter-framework-46966e050fdd1ae48c7692ae9818762ba262e781.tar.gz
external_parameter-framework-46966e050fdd1ae48c7692ae9818762ba262e781.tar.bz2
Handle key names in mapping context
BZ: 126002 Mapping context only allows to retrieve a mapping value from its corresponding key ID. We also want to do the same using its key as a string. This patch adds key name handling in context mapping. It also adds an API to retieve a mapping value from its corresponding key name. Note: it also removes an unused argument from handleMappingContext function. Change-Id: I5a18ad624a69272ea2796090692f2bfa8b373a52 Signed-off-by: Renaud de Chivre <renaud.de.chivre@intel.com> Reviewed-on: http://android.intel.com:8080/131571 Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com> Reviewed-by: cactus <cactus@intel.com> Tested-by: cactus <cactus@intel.com>
Diffstat (limited to 'parameter/Subsystem.h')
-rw-r--r--parameter/Subsystem.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/parameter/Subsystem.h b/parameter/Subsystem.h
index abd6c39..63546ad 100644
--- a/parameter/Subsystem.h
+++ b/parameter/Subsystem.h
@@ -189,13 +189,12 @@ private:
* Feed context with mapping data of the current element
*
* @param[in] pInstanceConfigurableElement The element containing mapping data
- * @param[in] contextMappingKeyArray The list of keys of the context mapping
* @param[out] context The context mapping to update with the current element mapping values
* @param[out] strError The formated error string
+ *
* @return true on success
*/
bool handleMappingContext(const CInstanceConfigurableElement* pInstanceConfigurableElement,
- const vector<string>& contextMappingKeyArray,
CMappingContext& context,
string& strError) const;