diff options
author | Patrick Benavoli <patrickx.benavoli@intel.com> | 2011-09-13 14:15:52 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-10 17:14:55 +0100 |
commit | b71ccf75a1b2c718543783b277bb9c104c97e490 (patch) | |
tree | acf3c45915424b371bd7ed692c896b695005e45c /parameter/SelectionCriteria.cpp | |
parent | a364ba000fb5eafe901b0b5e11c2b0f39d60f1bd (diff) | |
download | external_parameter-framework-b71ccf75a1b2c718543783b277bb9c104c97e490.zip external_parameter-framework-b71ccf75a1b2c718543783b277bb9c104c97e490.tar.gz external_parameter-framework-b71ccf75a1b2c718543783b277bb9c104c97e490.tar.bz2 |
parameter-framework: Changed criterion interface
BZ: 9561
- separated selection criterion change event indication form configuration application requests in different APIs
- added a way to retrieve selection criterion from its name
- updated version number 0.2.1
Change-Id: Icf4560fe67001655a171401f106296b9aa09afb3
Orig-Change-Id: I8dfb05ba1e704888c5c1ff9268a2a2e9a46af9bb
Signed-off-by: Patrick Benavoli <patrickx.benavoli@intel.com>
Reviewed-on: http://android.intel.com:8080/20208
Reviewed-by: Barthes, FabienX <fabienx.barthes@intel.com>
Tested-by: Barthes, FabienX <fabienx.barthes@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'parameter/SelectionCriteria.cpp')
-rw-r--r-- | parameter/SelectionCriteria.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/parameter/SelectionCriteria.cpp b/parameter/SelectionCriteria.cpp index 9377e31..d0b5766 100644 --- a/parameter/SelectionCriteria.cpp +++ b/parameter/SelectionCriteria.cpp @@ -56,11 +56,10 @@ CSelectionCriterion* CSelectionCriteria::createSelectionCriterion(const string& return getSelectionCriteriaDefinition()->createSelectionCriterion(strName, pSelectionCriterionType); } -// Subscription -void CSelectionCriteria::setObserver(ISelectionCriterionObserver* pSelectionCriterionObserver) +// Selection criterion retrieval +CSelectionCriterion* CSelectionCriteria::getSelectionCriterion(const string& strName) { - // Delegate - getSelectionCriteriaDefinition()->setObserver(pSelectionCriterionObserver); + return getSelectionCriteriaDefinition()->getSelectionCriterion(strName); } // List available criteria |