From 962ff7b523d81249dfc1eb6870b7a6249893e2ea Mon Sep 17 00:00:00 2001 From: David Wagner Date: Fri, 16 Jan 2015 16:59:06 +0100 Subject: ParameterMgr: add a method to forcefully disable the remote interface In some setup, users might not want to start the remote interface even if the toplevel configuration file allows it. The parameter-framework client can now override the remote interface starting policy. This was, until now, only dictated by the 'TuningAllowed' attribute in the toplevel configuration file and the presence of the libremote-processor library. This method is forwarded to the connectors and the bindings. Change-Id: Ib6dc272dfc7114125fdafd1a58642cde88847752 Signed-off-by: David Wagner --- parameter/ParameterMgrFullConnector.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'parameter/ParameterMgrFullConnector.cpp') diff --git a/parameter/ParameterMgrFullConnector.cpp b/parameter/ParameterMgrFullConnector.cpp index 9cd2441..b03facc 100644 --- a/parameter/ParameterMgrFullConnector.cpp +++ b/parameter/ParameterMgrFullConnector.cpp @@ -95,6 +95,16 @@ ISelectionCriterionInterface* CParameterMgrFullConnector::getSelectionCriterion( return _pParameterMgr->getSelectionCriterion(strName); } +bool CParameterMgrFullConnector::getForceNoRemoteInterface() const +{ + return _pParameterMgr->getForceNoRemoteInterface(); +} + +void CParameterMgrFullConnector::setForceNoRemoteInterface(bool bForceNoRemoteInterface) +{ + _pParameterMgr->setForceNoRemoteInterface(bForceNoRemoteInterface); +} + void CParameterMgrFullConnector::applyConfigurations() { return _pParameterMgr->applyConfigurations(); -- cgit v1.1