Salome HOME
Issue #2324: Update all indexes on show/hide
[modules/shaper.git] / src / GeomAlgoAPI / GeomAlgoAPI_XAOExport.h
index 5f535cfec8110e0f6b9157b8f3f256069a40b704..66c8e3b0865601d226b897aedd92c04669844030 100644 (file)
@@ -1,8 +1,22 @@
-// Copyright (C) 2014-20xx CEA/DEN, EDF R&D
-
-// File:    GEOMALGOAPI_XAOExport.h
-// Created: Nov 27, 2015
-// Author:  Sergey POKHODENKO
+// Copyright (C) 2014-2017  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+//
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+//
 
 #ifndef GEOMALGOAPI_XAOEXPORT_H_
 #define GEOMALGOAPI_XAOEXPORT_H_
@@ -17,10 +31,15 @@ namespace XAO {
 class Xao;
 } // namespace XAO
 
+/// Defines shape for the XAO object
+GEOMALGOAPI_EXPORT
+bool SetShapeToXAO(const std::shared_ptr<GeomAPI_Shape>& theShape,
+                   XAO::Xao* theXao,
+                   std::string& theError);
+
 /// Implementation of the export XAO files algorithms
 GEOMALGOAPI_EXPORT
 bool XAOExport(const std::string& theFileName,
-               const std::shared_ptr<GeomAPI_Shape>& theShape,
                XAO::Xao* theXao,
                std::string& theError);