summaryrefslogtreecommitdiffstats
path: root/parameter/ParameterMgr.h
diff options
context:
space:
mode:
authorPatrick Benavoli <patrickx.benavoli@intel.com>2011-09-13 14:15:52 +0200
committerDavid Wagner <david.wagner@intel.com>2014-02-10 17:14:55 +0100
commitb71ccf75a1b2c718543783b277bb9c104c97e490 (patch)
treeacf3c45915424b371bd7ed692c896b695005e45c /parameter/ParameterMgr.h
parenta364ba000fb5eafe901b0b5e11c2b0f39d60f1bd (diff)
downloadexternal_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/ParameterMgr.h')
-rw-r--r--parameter/ParameterMgr.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h
index 74440f8..4596843 100644
--- a/parameter/ParameterMgr.h
+++ b/parameter/ParameterMgr.h
@@ -36,7 +36,6 @@
#include "SelectionCriterionType.h"
#include "SelectionCriterion.h"
#include "Element.h"
-#include "SelectionCriterionObserver.h"
#include <map>
#include <vector>
@@ -52,7 +51,7 @@ class CConfigurableDomains;
class IRemoteProcessorServerInterface;
class CBackSynchronizer;
-class CParameterMgr : private CElement, private IRemoteCommandHandler, private ISelectionCriterionObserver
+class CParameterMgr : private CElement, private IRemoteCommandHandler
{
enum ChildElement {
EFrameworkConfiguration,
@@ -94,7 +93,7 @@ class CParameterMgr : private CElement, private IRemoteCommandHandler, private I
// Version
static const uint32_t guiEditionMajor = 0x0;
- static const uint32_t guiEditionMinor = 0x1;
+ static const uint32_t guiEditionMinor = 0x2;
static const uint32_t guiRevision = 0x1;
public:
// Logger interface
@@ -118,6 +117,11 @@ public:
// Selection Criteria
CSelectionCriterionType* createSelectionCriterionType(bool bIsInclusive);
CSelectionCriterion* createSelectionCriterion(const string& strName, const CSelectionCriterionType* pSelectionCriterionType);
+ // Selection criterion retrieval
+ CSelectionCriterion* getSelectionCriterion(const string& strName);
+
+ // Configuration application
+ bool applyConfigurations(string& strError);
//////////// Tuning /////////////
// Tuning mode
@@ -176,9 +180,6 @@ private:
virtual void nestLog() const;
virtual void unnestLog() const;
- // From ISelectionCriterionObserver: selection criteria changed event
- virtual void selectionCriterionChanged(const CSelectionCriterion* pSelectionCriterion);
-
// From IRemoteCommandHandler: return true on success, fill result in any cases
virtual bool remoteCommandProcess(const IRemoteCommand& remoteCommand, string& strResult);