From faa623c40bcfba17f222b738c036cd8fdcdd3a4d Mon Sep 17 00:00:00 2001 From: David Wagner Date: Mon, 12 Jan 2015 13:54:47 +0100 Subject: Add {get,set}SchemaFolderLocation() to the public Pfw API It will allow users to tell the parameter-framework where the Schemas are instead of letting it guess. These methods are also added to both "Platform" and "Full" connectors. Change-Id: I7fe3b2fd2c6dba1d90d36de97e6db7d71b2c686f Signed-off-by: David Wagner --- parameter/ParameterMgr.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'parameter/ParameterMgr.h') diff --git a/parameter/ParameterMgr.h b/parameter/ParameterMgr.h index 315cf63..de948ba 100644 --- a/parameter/ParameterMgr.h +++ b/parameter/ParameterMgr.h @@ -168,6 +168,18 @@ public: */ bool getFailureOnFailedSettingsLoad(); + /** Get the path to the directory containing the XML Schemas + * + * @returns the directory containing the XML Schemas + */ + const std::string& getSchemaFolderLocation() const; + + /** Override the directory containing the XML Schemas + * + * @param[in] strSchemaFolderLocation directory containing the XML Schemas + */ + void setSchemaFolderLocation(const std::string& strSchemaFolderLocation); + /** Should .xml files be validated on start ? * * @param[in] bValidate: -- cgit v1.1