EgtInterface 2.5a2 :

- aggiunto parametro nFilter a tutte le funzioni di esportazione.
This commit is contained in:
DarioS
2023-01-11 14:51:44 +01:00
parent 9c7c26ff41
commit 9d5eaab16c
2 changed files with 10 additions and 10 deletions
+10 -10
View File
@@ -106,30 +106,30 @@ __stdcall EgtAdvancedImport( const wchar_t* wsFilePath, double dLinToler)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath, int nFlag)
__stdcall EgtExportDxf( int nId, const wchar_t* wsFilePath, int nFlag, int nFilter)
{
return ( ExeExportDxf( nId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
return ( ExeExportDxf( nId, wstrztoA( wsFilePath), nFlag, nFilter) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExportStl( int nId, const wchar_t* wsFilePath)
__stdcall EgtExportStl( int nId, const wchar_t* wsFilePath, int nFilter)
{
return ( ExeExportStl( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ;
return ( ExeExportStl( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExport3MF( int nId, const wchar_t* wsFilePath)
__stdcall EgtExport3MF( int nId, const wchar_t* wsFilePath, int nFilter)
{
return ( ExeExport3MF( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ;
return ( ExeExport3MF( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath)
__stdcall EgtExportSvg( int nId, const wchar_t* wsFilePath, int nFilter)
{
return ( ExeExportSvg( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ;
return ( ExeExportSvg( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ;
}
//-----------------------------------------------------------------------------
@@ -141,7 +141,7 @@ __stdcall EgtSetThreeJSLibDir( const wchar_t* wsThreeJSLibDir)
//-----------------------------------------------------------------------------
BOOL
__stdcall EgtExportThreeJS( int nId, const wchar_t* wsFilePath)
__stdcall EgtExportThreeJS( int nId, const wchar_t* wsFilePath, int nFilter)
{
return ( ExeExportThreeJS( nId, wstrztoA( wsFilePath)) ? TRUE : FALSE) ;
return ( ExeExportThreeJS( nId, wstrztoA( wsFilePath), nFilter) ? TRUE : FALSE) ;
}