From: env Date: Tue, 26 Jul 2005 09:51:37 +0000 (+0000) Subject: ENV: Windows porting. X-Git-Tag: V3_0_1~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7fbe7100ee04652b4a7c6a215b556632dbb106ae;p=modules%2Fkernel.git ENV: Windows porting. --- diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx index d5d82f97a..f5d55912b 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx @@ -40,16 +40,31 @@ #include CORBA_CLIENT_HEADER(SALOME_ContainerManager) #include CORBA_CLIENT_HEADER(SALOME_Component) +#if defined LIFECYCLECORBA_EXPORTS +#if defined WIN32 +#define LIFECYCLECORBA_EXPORT __declspec( dllexport ) +#else +#define LIFECYCLECORBA_EXPORT +#endif +#else +#if defined WNT +#define LIFECYCLECORBA_EXPORT __declspec( dllimport ) +#else +#define LIFECYCLECORBA_EXPORT +#endif +#endif + + class SALOME_NamingService; -class IncompatibleComponent : public SALOME_Exception +class LIFECYCLECORBA_EXPORT IncompatibleComponent : public SALOME_Exception { public : IncompatibleComponent( void ); IncompatibleComponent( const IncompatibleComponent &ex ); } ; -class SALOME_LifeCycleCORBA +class LIFECYCLECORBA_EXPORT SALOME_LifeCycleCORBA { public: SALOME_LifeCycleCORBA(SALOME_NamingService *ns = 0);