Salome HOME
Add dll import/export on WIN32 platform.
authorrnv <rnv@opencascade.com>
Thu, 24 Oct 2013 12:04:17 +0000 (12:04 +0000)
committerrnv <rnv@opencascade.com>
Thu, 24 Oct 2013 12:04:17 +0000 (12:04 +0000)
src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx

index a8b2705..f522c36 100644 (file)
 #include <string>
 #include <map>
 
-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,