]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 a8b270547daf29cd0d38229e041e4dca08ce0627..f522c360411e689e690408f51157574d12602ca4 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,