X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FGEOMClient%2FGEOM_Client.hxx;h=161fcc1051ae5ca61dc1822d7cf644e7f04a2d8f;hb=8999793a64e88dc19aba9ae983ee3c8848cd20d1;hp=0dd255d35edf0106d4440fd4a0529f9080b40d43;hpb=d3dd282390888d7dc091ba2c2ffe7923bd7458e6;p=modules%2Fgeom.git diff --git a/src/GEOMClient/GEOM_Client.hxx b/src/GEOMClient/GEOM_Client.hxx index 0dd255d35..161fcc105 100644 --- a/src/GEOMClient/GEOM_Client.hxx +++ b/src/GEOMClient/GEOM_Client.hxx @@ -17,7 +17,7 @@ // License along with this library; if not, write to the Free Software // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // // // @@ -52,10 +52,28 @@ class TopoDS_Shape; #include #endif +#ifdef WNT + #if defined GEOMCLIENT_EXPORTS + #if defined WIN32 + #define GEOMCLIENT_EXPORT __declspec( dllexport ) + #else + #define GEOMCLIENT_EXPORT + #endif + #else + #if defined WIN32 + #define GEOMCLIENT_EXPORT __declspec( dllimport ) + #else + #define GEOMCLIENT_EXPORT + #endif + #endif +#else + #define GEOMCLIENT_EXPORT +#endif + //===================================================================== // GEOM_Client : class definition //===================================================================== -class GEOM_Client { +class GEOMCLIENT_EXPORT GEOM_Client { public: @@ -73,15 +91,24 @@ public: } // Methods PUBLIC // - Standard_EXPORT GEOM_Client(); - Standard_EXPORT GEOM_Client(Engines::Container_ptr client); - Standard_EXPORT Standard_Integer Find( const TCollection_AsciiString& IOR, TopoDS_Shape& S ) ; - Standard_EXPORT Standard_Integer Find( const TopoDS_Shape& S, TCollection_AsciiString& IOR ) ; - Standard_EXPORT void Bind( const TCollection_AsciiString& IOR, const TopoDS_Shape& S ) ; - Standard_EXPORT TopoDS_Shape GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape ); - Standard_EXPORT void RemoveShapeFromBuffer( const TCollection_AsciiString& IOR ) ; - Standard_EXPORT void ClearClientBuffer() ; - Standard_EXPORT unsigned int BufferLength() ; + //Standard_EXPORT + GEOM_Client(); + //Standard_EXPORT + GEOM_Client(Engines::Container_ptr client); + //Standard_EXPORT + Standard_Integer Find( const TCollection_AsciiString& IOR, TopoDS_Shape& S ) ; + //Standard_EXPORT + Standard_Integer Find( const TopoDS_Shape& S, TCollection_AsciiString& IOR ) ; + //Standard_EXPORT + void Bind( const TCollection_AsciiString& IOR, const TopoDS_Shape& S ) ; + //Standard_EXPORT + TopoDS_Shape GetShape( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape ); + //Standard_EXPORT + void RemoveShapeFromBuffer( const TCollection_AsciiString& IOR ) ; + //Standard_EXPORT + void ClearClientBuffer() ; + //Standard_EXPORT + unsigned int BufferLength() ; TopoDS_Shape Load( GEOM::GEOM_Gen_ptr geom, GEOM::GEOM_Object_ptr aShape); private: