mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-04-23 23:32: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
|
||||
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 )
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user