aboutsummaryrefslogtreecommitdiffstats
path: root/parameter/ParameterMgrPlatformConnector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/ParameterMgrPlatformConnector.cpp')
-rw-r--r--parameter/ParameterMgrPlatformConnector.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/parameter/ParameterMgrPlatformConnector.cpp b/parameter/ParameterMgrPlatformConnector.cpp
index d8b3936..aa1f8a1 100644
--- a/parameter/ParameterMgrPlatformConnector.cpp
+++ b/parameter/ParameterMgrPlatformConnector.cpp
@@ -103,6 +103,24 @@ bool CParameterMgrPlatformConnector::getFailureOnMissingSubsystem()
return _pParameterMgr->getFailureOnMissingSubsystem();
}
+bool CParameterMgrPlatformConnector::setFailureOnFailedSettingsLoad(
+ bool bFail, std::string& strError)
+{
+ if (_bStarted) {
+
+ strError = "Can not set failure on failed settings load policy while running";
+ return false;
+ }
+
+ _pParameterMgr->setFailureOnFailedSettingsLoad(bFail);
+ return true;
+}
+
+bool CParameterMgrPlatformConnector::getFailureOnFailedSettingsLoad()
+{
+ return _pParameterMgr->getFailureOnFailedSettingsLoad();
+}
+
// Start
bool CParameterMgrPlatformConnector::start(string& strError)
{