Salome HOME
- appli_path bug write fix
[modules/kernel.git] / src / ResourcesManager / ResourcesManager.hxx
index c5ce0f2c896de5257d37c4ec77f0662fd0aa3d7b..1afcf69a55e2b42e8b948559e28862cf3a773462 100644 (file)
@@ -79,18 +79,13 @@ class RESOURCESMANAGER_EXPORT ResourcesManager_cpp
     GetFittingResources(const resourceParams& params) throw(ResourcesException);
 
     std::string Find(const std::string& policy, 
-                    const std::vector<std::string>& listOfResources);
+                     const std::vector<std::string>& listOfResources);
 
-    int AddResourceInCatalog (const resourceParams& paramsOfNewResources,
-                             const std::vector<std::string>& componentsOnNewResources,
-                             const char *userName,
-                             AccessModeType mode,
-                             AccessProtocolType prot,
-                             AccessProtocolType iprot) throw(ResourcesException);
+    void AddResourceInCatalog (const ParserResourcesType & new_resource) throw(ResourcesException);
 
     void DeleteResourceInCatalog(const char * name);
 
-    void WriteInXmlFile(std::string xml_file);
+    void WriteInXmlFile(std::string xml_file);
 
     const MapOfParserResourcesType& ParseXmlFiles();
 
@@ -103,7 +98,7 @@ class RESOURCESMANAGER_EXPORT ResourcesManager_cpp
     void SelectOnlyResourcesWithOS(std::vector<std::string>& resources, std::string OS);
 
     void KeepOnlyResourcesWithComponent(std::vector<std::string>& resources, 
-                                       const std::vector<std::string>& componentList);
+                                        const std::vector<std::string>& componentList);
 
     //! will contain the path to the ressources catalog
     std::list<std::string> _path_resources;