Salome HOME
++ shapefil
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_ExportFileOp.h
index ed9baa99d37f9b711cfda1a276d645e077cdaf80..3fd45f81738620c3119d9171c1928e5556ab0184 100644 (file)
@@ -27,7 +27,7 @@
 #include <vector>
 
 //extern "C" {
-#include <shapelib/shapefil.h> 
+#include <shapefil.h> 
 //};
 
 class SUIT_FileDlg;
@@ -47,9 +47,9 @@ public:
 
 protected:
   virtual void startOperation();
-  void WriteObjectPolyXY(SHPHandle theShpHandle, Handle_HYDROData_PolylineXY thePoly );
-  void WriteObjectPoly3D(SHPHandle theShpHandle, Handle_HYDROData_Polyline3D thePoly );
-  void WriteObjectLC(SHPHandle theShpHandle, Handle_HYDROData_LandCover theLC );
+  int WriteObjectPolyXY(SHPHandle theShpHandle, Handle_HYDROData_PolylineXY thePoly );
+  int WriteObjectPoly3D(SHPHandle theShpHandle, Handle_HYDROData_Polyline3D thePoly );
+  int WriteObjectLC(SHPHandle theShpHandle, Handle_HYDROData_LandCover theLC );
 private:
   void ProcessFace(TopoDS_Face theFace, SHPHandle theShpHandle);
  private: