From dcbd1fef453757557d54bc55d7171406dca6fbab Mon Sep 17 00:00:00 2001 From: rnv Date: Wed, 26 May 2021 16:42:30 +0300 Subject: [PATCH] Add DLL specs. --- src/SMESHGUI/SMESHGUI_IdPreview.h | 2 +- src/StdMeshers/StdMeshers_Quadrangle_2D.hxx | 6 +++--- src/StdMeshers_I/StdMeshers_ObjRefUlils.hxx | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/SMESHGUI/SMESHGUI_IdPreview.h b/src/SMESHGUI/SMESHGUI_IdPreview.h index bb7e18a2f..dd87a7caf 100644 --- a/src/SMESHGUI/SMESHGUI_IdPreview.h +++ b/src/SMESHGUI/SMESHGUI_IdPreview.h @@ -47,7 +47,7 @@ class vtkUnstructuredGrid; /*! * \brief To display in the viewer IDs of selected elements or nodes */ -class SMESHGUI_IdPreview +class SMESHGUI_EXPORT SMESHGUI_IdPreview { public: SMESHGUI_IdPreview(SVTK_ViewWindow* theViewWindow); diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx index b14f7a11d..eb43083cb 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.hxx @@ -46,11 +46,11 @@ struct uvPtStruct; enum TSideID { QUAD_BOTTOM_SIDE=0, QUAD_RIGHT_SIDE, QUAD_TOP_SIDE, QUAD_LEFT_SIDE, NB_QUAD_SIDES }; typedef uvPtStruct UVPtStruct; -struct FaceQuadStruct +struct STDMESHERS_EXPORT FaceQuadStruct { - struct Side // a side of FaceQuadStruct + struct STDMESHERS_EXPORT Side // a side of FaceQuadStruct { - struct Contact // contact of two sides + struct STDMESHERS_EXPORT Contact // contact of two sides { int point; // index of a grid point of this side where two sides meat Side* other_side; diff --git a/src/StdMeshers_I/StdMeshers_ObjRefUlils.hxx b/src/StdMeshers_I/StdMeshers_ObjRefUlils.hxx index 24cfdf16f..d03ff314b 100644 --- a/src/StdMeshers_I/StdMeshers_ObjRefUlils.hxx +++ b/src/StdMeshers_I/StdMeshers_ObjRefUlils.hxx @@ -29,6 +29,7 @@ #define StdMeshers_ObjRefUlils_HeaderFile #include "SMESH_Gen_i.hxx" +#include "SMESH_StdMeshers_I.hxx" /*! * \brief Class encapsulates methods @@ -70,7 +71,7 @@ public: * \param theEntry - study entry * \retval TopoDS_Shape - result TopoDS_Shape */ - static TopoDS_Shape EntryToShape(const std::string theEntry); + STDMESHERS_I_EXPORT static TopoDS_Shape EntryToShape(const std::string theEntry); /*! * \brief Return study entry of GEOM Object