#include <vector>
//extern "C" {
-#include <shapelib/shapefil.h>
+#include <shapefil.h>
//};
class SUIT_FileDlg;
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: