Salome HOME
porting : eliminate comp. errors
[modules/hydro.git] / src / HYDROData / HYDROData_GeomTool.h
index 554aede3c7e5b6209191433586af4deb31a66b5c..17d48314b19a630540a087552ff36c7d0957c5b4 100644 (file)
 #define HYDROData_GeomTool_HeaderFile
 
 #include "HYDROData.h"
+#include <NCollection_IndexedDataMap.hxx>
+#include <TopTools_ShapeMapHasher.hxx>
 
+#ifdef WIN32
+  #pragma warning ( disable: 4251 )
+#endif
+
+#ifndef LIGHT_MODE
 #include <GEOM_Client.hxx>
 
+#ifdef WIN32
+  #pragma warning ( default: 4251 )
+#endif
+
 class TopoDS_Shape;
 class QString;
 
@@ -104,8 +115,17 @@ public:
                                     GEOM::GEOM_Object_ptr theGeomObj,
                                     const QString& theName );
 
+  static GEOM::GEOM_Object_ptr ExplodeShapeInGEOMandPublish( GEOM::GEOM_Gen_var theGeomEngine, 
+                                                      SALOMEDS::Study_ptr theStudy, 
+                                                      const TopoDS_Shape& theShape, 
+                                                      const NCollection_IndexedDataMap<TopoDS_Shape, QString, TopTools_ShapeMapHasher>& aShToNameModif,
+                                                      const QString& theName,
+                                                      QString& theGeomObjEntry);
+
 };
 
 #endif
 
+#endif
+