mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-24 03:42:04 +05:00
Adapt Export/Import functions for plugins
This commit is contained in:
parent
b3b8bbad36
commit
184e55bf08
@ -1,14 +1,14 @@
|
|||||||
Import: BREP|IGES|STEP
|
Import: BREP|IGES|STEP
|
||||||
Export: BREP|IGES|STEP
|
Export: BREP|IGES|STEP
|
||||||
|
|
||||||
BREP.Import: libBREPImport.so
|
BREP.Import: libBREPImport
|
||||||
BREP.Export: libBREPExport.so
|
BREP.Export: libBREPExport
|
||||||
BREP.Pattern: BREP Files ( *.brep )
|
BREP.Pattern: BREP Files ( *.brep )
|
||||||
|
|
||||||
IGES.Import: libIGESImport.so
|
IGES.Import: libIGESImport
|
||||||
IGES.Export: libIGESExport.so
|
IGES.Export: libIGESExport
|
||||||
IGES.Pattern: IGES Files ( *.iges *.igs )
|
IGES.Pattern: IGES Files ( *.iges *.igs )
|
||||||
|
|
||||||
STEP.Import: libSTEPImport.so
|
STEP.Import: libSTEPImport
|
||||||
STEP.Export: libSTEPExport.so
|
STEP.Export: libSTEPExport
|
||||||
STEP.Pattern: STEP Files ( *.step *.stp )
|
STEP.Pattern: STEP Files ( *.step *.stp )
|
||||||
|
@ -352,7 +352,12 @@ Standard_Boolean GEOMImpl_IInsertOperations::IsSupported
|
|||||||
aKey += ".";
|
aKey += ".";
|
||||||
aKey += aMode;
|
aKey += aMode;
|
||||||
if (myResMgr->Find(aKey.ToCString())) {
|
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);
|
theLibName = new TCollection_HAsciiString (aLibName);
|
||||||
return Standard_True;
|
return Standard_True;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user