X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FOBJECT%2FSMESH_Object.h;h=9e2f49dcf6b9971793e781decf2492d129fc2491;hp=44b737ba584005b28f37c007eb13ea7cfd425691;hb=9d11375af40826e967ab2c3bcb77d1f9d439c90c;hpb=c63ee099ad2b149bd70136839c973e8910137bc5 diff --git a/src/OBJECT/SMESH_Object.h b/src/OBJECT/SMESH_Object.h index 44b737ba5..9e2f49dcf 100644 --- a/src/OBJECT/SMESH_Object.h +++ b/src/OBJECT/SMESH_Object.h @@ -29,6 +29,16 @@ #ifndef SMESH_OBJECT_H #define SMESH_OBJECT_H +#ifdef WNT + #if defined SMESHOBJECT_EXPORTS + #define SMESHOBJECT_EXPORT __declspec( dllexport ) + #else + #define SMESHOBJECT_EXPORT __declspec( dllimport ) + #endif +#else + #define SMESHOBJECT_EXPORT +#endif + #include #include @@ -42,7 +52,7 @@ class vtkUnstructuredGrid; Class : SMESH_VisualObj Description : Base class for all mesh objects to be visuilised */ -class SMESH_VisualObj +class SMESHOBJECT_EXPORT SMESH_VisualObj { public: virtual void Update( int theIsClear = true ) = 0;