X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2Fpadder%2Fmeshjob%2Fimpl%2FMeshJobManager_i.hxx;h=f522c360411e689e690408f51157574d12602ca4;hp=f53d7aa34888ce4f4b12fa44e2a81a0b1719cfd2;hb=5c7170a3e6d65c7a1154182b26ce658560ea8fa7;hpb=1c3d4eccd17b112559ad4870a2a55a85f6a36b36 diff --git a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx index f53d7aa34..f522c3604 100644 --- a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx +++ b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2012 EDF R&D +// Copyright (C) 2011-2013 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 @@ -16,6 +16,7 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // + // Authors : Guillaume Boulant (EDF) - 01/03/2011 #ifndef _MESHJOBMANAGER_HXX_ @@ -32,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, @@ -42,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);