]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
ENV: Windows porting.
authorenv <env@opencascade.com>
Tue, 26 Jul 2005 09:51:37 +0000 (09:51 +0000)
committerenv <env@opencascade.com>
Tue, 26 Jul 2005 09:51:37 +0000 (09:51 +0000)
src/LifeCycleCORBA/SALOME_LifeCycleCORBA.hxx

index d5d82f97a4359065603981170ca5fce3ba3f72a4..f5d55912b9794eb34b3a303727ab686cf16d631c 100644 (file)
 #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);