]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Windows porting.
authorouv <ouv@opencascade.com>
Tue, 16 May 2006 14:26:32 +0000 (14:26 +0000)
committerouv <ouv@opencascade.com>
Tue, 16 May 2006 14:26:32 +0000 (14:26 +0000)
src/NOTIFICATION_SWIG/NOTIFICATION.i
src/NOTIFICATION_SWIG/NOTIFICATION_Swig.hxx
src/NOTIFICATION_SWIG/SALOME_NOTIFICATION_SWIG.hxx [new file with mode: 0755]

index 38f506176c1238ae1b3e44eed8c20ac080a4e930..daaae3d0c0ceefe2dfa017ba71f89d9fca8d0904 100644 (file)
@@ -32,3 +32,8 @@
 %{
 #include "NOTIFICATION_Swig.hxx"
 %}
+
+%include SALOME_NOTIFICATION.hxx
+%include SALOME_NOTIFICATION_SWIG.hxx
+%include NOTIFICATION.hxx
+%include NOTIFICATION_Swig.hxx
index a56c730c5efc9905b4280c095acecb26c8c9d357..e3a2029506ba68d5d2d958586fbac59ac509734c 100644 (file)
@@ -26,8 +26,9 @@
 //  Module : SALOME
 
 #include "NOTIFICATION.hxx"
+#include "SALOME_NOTIFICATION_SWIG.hxx"
 
-class NOTIFICATION_Supplier_Swig {
+class NOTIFICATION_SWIG_EXPORT NOTIFICATION_Supplier_Swig {
   public:
     NOTIFICATION_Supplier_Swig(const char* instanceName, bool notif);
     ~NOTIFICATION_Supplier_Swig();
@@ -37,7 +38,7 @@ class NOTIFICATION_Supplier_Swig {
     NOTIFICATION_Supplier* _supplier;
 };
 
-class NOTIFICATION_Consumer_Swig {
+class NOTIFICATION_SWIG_EXPORT NOTIFICATION_Consumer_Swig {
   public:
     NOTIFICATION_Consumer_Swig();
     ~NOTIFICATION_Consumer_Swig();
diff --git a/src/NOTIFICATION_SWIG/SALOME_NOTIFICATION_SWIG.hxx b/src/NOTIFICATION_SWIG/SALOME_NOTIFICATION_SWIG.hxx
new file mode 100755 (executable)
index 0000000..15149f8
--- /dev/null
@@ -0,0 +1,47 @@
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  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. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : SALOME_NOTIFICATION_SWIG.hxx
+//  Author : Oleg UVAROV
+//  Module : SALOME
+
+#ifndef _SALOME_NOTIFICATION_SWIG_HXX_
+#define _SALOME_NOTIFICATION_SWIG_HXX_
+
+#ifdef WNT
+ #if defined NOTIFICATION_SWIG_EXPORTS
+  #if defined WIN32
+   #define NOTIFICATION_SWIG_EXPORT __declspec( dllexport )
+  #else
+   #define NOTIFICATION_SWIG_EXPORT
+  #endif
+ #else
+  #if defined WIN32
+   #define NOTIFICATION_SWIG_EXPORT __declspec( dllimport )
+  #else
+   #define NOTIFICATION_SWIG_EXPORT
+  #endif
+ #endif
+#else
+ #define NOTIFICATION_SWIG_EXPORT
+#endif
+
+#endif
\ No newline at end of file