]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
Adapt Export/Import functions for plugins
authorabd <abd@opencascade.com>
Tue, 4 Apr 2006 08:29:25 +0000 (08:29 +0000)
committerabd <abd@opencascade.com>
Tue, 4 Apr 2006 08:29:25 +0000 (08:29 +0000)
resources/ImportExport
src/GEOMImpl/GEOMImpl_IInsertOperations.cxx

index 574e0e2e3f5725870c40e72c3f734f0e735918f6..15bf9c78c061996edcf4f1b8d7d5a2d2526cce20 100644 (file)
@@ -1,14 +1,14 @@
 Import: BREP|IGES|STEP
 Export: BREP|IGES|STEP
 
-BREP.Import: libBREPImport.so
-BREP.Export: libBREPExport.so
+BREP.Import: libBREPImport
+BREP.Export: libBREPExport
 BREP.Pattern: BREP Files ( *.brep )
 
-IGES.Import: libIGESImport.so
-IGES.Export: libIGESExport.so
+IGES.Import: libIGESImport
+IGES.Export: libIGESExport
 IGES.Pattern: IGES Files ( *.iges *.igs )
 
-STEP.Import: libSTEPImport.so
-STEP.Export: libSTEPExport.so
+STEP.Import: libSTEPImport
+STEP.Export: libSTEPExport
 STEP.Pattern: STEP Files ( *.step *.stp )
index 6aee3f044184b6daf4c8a6e40b0b511d3329d802..8e12231cf33ce798ae43561c1217c5665bb1ad15 100644 (file)
@@ -352,7 +352,12 @@ Standard_Boolean GEOMImpl_IInsertOperations::IsSupported
       aKey += ".";
       aKey += aMode;
       if (myResMgr->Find(aKey.ToCString())) {
-        TCollection_AsciiString aLibName (myResMgr->Value(aKey.ToCString()));
+        TCollection_AsciiString aLibName (myResMgr->Value(aKey.ToCString()));        
+#ifndef WNT
+        aLibName += ".so";     
+#else
+        aLibName += ".dll";
+#endif
         theLibName = new TCollection_HAsciiString (aLibName);
         return Standard_True;
       }