From: rnv Date: Thu, 24 Oct 2013 12:04:17 +0000 (+0000) Subject: Add dll import/export on WIN32 platform. X-Git-Tag: V7_3_0a1~104 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5c7170a3e6d65c7a1154182b26ce658560ea8fa7;p=modules%2Fsmesh.git Add dll import/export on WIN32 platform. --- diff --git a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx index a8b270547..f522c3604 100644 --- a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx +++ b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx @@ -33,8 +33,19 @@ #include #include -class MeshJobManager_i: public virtual POA_MESHJOB::MeshJobManager, - public Engines_Component_i +#ifdef WIN32 + #if defined MESHJOBMANAGERENGINE_EXPORTS || defined MeshJobManagerEngine_EXPORTS + #define MESHJOBMANAGERENGINE_EXPORT __declspec( dllexport ) + #else + #define MESHJOBMANAGERENGINE_EXPORT __declspec( dllimport ) + #endif +#else + #define MESHJOBMANAGERENGINE_EXPORT +#endif + + +class MESHJOBMANAGERENGINE_EXPORT MeshJobManager_i: public virtual POA_MESHJOB::MeshJobManager, + public Engines_Component_i { public: MeshJobManager_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa,