Salome HOME
23582: [CEA] Rename MED module to FIELDS
[modules/med.git] / src / MEDCalc / cmp / MED.hxx
index c8e9d213e333c0fd6021dc7c7e475369fc577f16..bd3246683265e3921cdb0845fae6cc11e1e90876 100644 (file)
 #ifndef _MED_HXX_
 #define _MED_HXX_
 
-#ifdef WIN32
-# if defined MEDENGINE_EXPORTS || defined MEDEngine_EXPORTS
-#  define MEDENGINE_EXPORT __declspec( dllexport )
-# else
-#  define MEDENGINE_EXPORT __declspec( dllimport )
-# endif
-#else
-# define MEDENGINE_EXPORT
-#endif
-
 #include <SALOMEconfig.h>
 #include CORBA_SERVER_HEADER(MED_Gen)
 #include CORBA_SERVER_HEADER(MEDDataManager)
@@ -39,7 +29,9 @@
 #include <map>
 #include <string>
 
-class MEDENGINE_EXPORT MED :
+#include "MEDCALC.hxx"
+
+class MEDCALC_EXPORT MED :
   public POA_MED_ORB::MED_Gen,
   public Engines_Component_i
 {
@@ -92,11 +84,11 @@ public:
 };
 
 extern "C"
-MEDENGINE_EXPORT
-PortableServer::ObjectId* MEDEngine_factory( CORBA::ORB_ptr orb,
-                                             PortableServer::POA_ptr poa,
-                                             PortableServer::ObjectId* contId,
-                                             const char* instanceName,
-                                             const char* interfaceName );
+MEDCALC_EXPORT
+PortableServer::ObjectId* FIELDSEngine_factory( CORBA::ORB_ptr orb,
+                                               PortableServer::POA_ptr poa,
+                                               PortableServer::ObjectId* contId,
+                                               const char* instanceName,
+                                               const char* interfaceName );
 
 #endif