Salome HOME
Merge branch 'fix_for_760' of salome:modules/smesh into fix_for_760
[modules/smesh.git] / src / Tools / padder / meshjob / impl / MeshJobManager_i.hxx
index ac5921b5a3f02cd2704730ace7881a2cbeec817c..d3f408abeae623f389a487d16c7f02cfbe36070e 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2011-2013  EDF R&D
+// Copyright (C) 2011-2015  EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
 #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,
@@ -43,9 +54,9 @@ public:
   ~MeshJobManager_i();
 
   bool           configure  (const char *configId,
-                            const MESHJOB::ConfigParameter & configParameter);
+                             const MESHJOB::ConfigParameter & configParameter);
   CORBA::Long    initialize (const MESHJOB::MeshJobParameterList & meshJobParameterList,
-                            const char *configId);
+                             const char *configId);
   bool           start      (CORBA::Long jobId);
   char*          getState   (CORBA::Long jobId);
   MESHJOB::MeshJobResults * finalize(CORBA::Long jobId);