X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FConfig%2FConfig_XMLReader.h;h=ccb0611154dd7d9d1267c8b83dba05a691296f31;hb=b5893b0a30fac08134c24de4565cb513a43affa6;hp=258af0cd50535545cfa88b58afc51400464109dd;hpb=7807756f46b9dcd90994ac57a8a514f0570e794e;p=modules%2Fshaper.git diff --git a/src/Config/Config_XMLReader.h b/src/Config/Config_XMLReader.h index 258af0cd5..ccb061115 100644 --- a/src/Config/Config_XMLReader.h +++ b/src/Config/Config_XMLReader.h @@ -43,6 +43,11 @@ class Config_XMLReader */ CONFIG_EXPORT Config_XMLReader(const std::string& theXmlFile); CONFIG_EXPORT virtual ~Config_XMLReader(); + /*! + * Returns a path to the plugins.xml file (created from ROOT_DIR environment variable) + * \return string value + */ + CONFIG_EXPORT static std::string pluginConfigFile(); /*! * Read all nodes in associated xml file, * recursively if processChildren(xmlNode) is true for the xmlNode. @@ -55,11 +60,12 @@ class Config_XMLReader */ CONFIG_EXPORT xmlNodePtr findRoot(); + CONFIG_EXPORT const char* encoding() const; + protected: /*! * \brief Allows to customize reader's behavior for a node. Virtual. - * The default implementation process "source", "validator" and - * "selection_filter" nodes. + * The default implementation process "source" and "validator" nodes. */ virtual void processNode(xmlNodePtr aNode);