Salome HOME
Win32 Porting.
[modules/geom.git] / src / BREPImport / BREPImport.cxx
index 5412fb3e8d0f5c265bfba249ee77e45aee6dfee2..32db94faeb22ff6d2ea4f22e5c8bb49fb15d7844 100644 (file)
@@ -15,7 +15,7 @@
 // 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.salome-platform.org/
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
 // File:       BREPImport.cxx
 // Created:    Wed May 19 14:29:52 2004
 #include <TCollection_AsciiString.hxx>
 #include <TopoDS_Shape.hxx>
 
-#ifdef WNT
-#include <SALOME_WNT.hxx>
+#ifdef WIN32
+# ifdef BREPIMPORT_EXPORTS
+#  define BREPIMPORT_EXPORT __declspec( dllexport )
+# else
+#  define BREPIMPORT_EXPORT __declspec( dllimport )
+# endif
 #else
-#define SALOME_WNT_EXPORT
+# define BREPIMPORT_EXPORT
 #endif
 
 //=============================================================================
@@ -44,8 +48,9 @@
 
 extern "C"
 {
-SALOME_WNT_EXPORT
+BREPIMPORT_EXPORT
   TopoDS_Shape Import (const TCollection_AsciiString& theFileName,
+                       const TCollection_AsciiString& /*theFormatName*/,
                        TCollection_AsciiString&       theError)
   {
     MESSAGE("Import BREP from file " << theFileName);