summaryrefslogtreecommitdiffstats
path: root/parameter/ParameterMgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'parameter/ParameterMgr.h')
-rw-r--r--parameter/ParameterMgr.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h
index 9145c4e..1f738fe 100644
--- a/parameter/ParameterMgr.h
+++ b/parameter/ParameterMgr.h
@@ -138,10 +138,9 @@ public:
CParameterHandle* createParameterHandle(const string& strPath, string& strError);
/** Should start fail in case of missing subsystems.
- * Will fail if called on started instance.
*
- * @param[in] bFail: If set to true, parameterMgr start will fail on missing subsystems
- * If set to false, missing subsystems will fallback on virtual subsystem
+ * @param[in] bFail: If set to true, parameterMgr start will fail on missing subsystems.
+ * If set to false, missing subsystems will fallback on virtual subsystem.
*/
void setFailureOnMissingSubsystem(bool bFail);
@@ -151,6 +150,18 @@ public:
*/
bool getFailureOnMissingSubsystem() const;
+ /** Should start fail in failed settings load.
+ *
+ * @param[in] bFail: If set to true, parameterMgr start will fail on failed settings load.
+ * If set to false, failed settings load will be ignored.
+ */
+ void setFailureOnFailedSettingsLoad(bool bFail);
+ /** Would start fail in case of failed settings load.
+ *
+ * @return failure on failed settings load policy state.
+ */
+ bool getFailureOnFailedSettingsLoad();
+
//////////// Tuning /////////////
// Tuning mode
bool setTuningMode(bool bOn, string& strError);
@@ -395,6 +406,7 @@ private:
// System class Structure loading
bool loadSettings(string& strError);
+ bool loadSettingsFromConfigFile(string& strError);
// Parse XML file into Root element
bool xmlParse(CXmlElementSerializingContext& elementSerializingContext, CElement* pRootElement, const string& strXmlFilePath, const string& strXmlFolder, ElementLibrary eElementLibrary, const string& strNameAttrituteName = "Name");
@@ -483,5 +495,10 @@ private:
* If set to false, missing subsystem will fallback on virtual subsystem.
*/
bool _bFailOnMissingSubsystem;
+ /** If set to true, unparsable or discording domains will abort parameterMgr start.
+ * If set to false, unparsable or discording domains
+ * will continue the parameterMgr start with no domains.
+ */
+ bool _bFailOnFailedSettingsLoad;
};