EgtInterface :
- aggiornamento interfaccia di EgtSaveObjToFile.
This commit is contained in:
+6
-2
@@ -184,9 +184,13 @@ __stdcall EgtSaveFile( const wchar_t* wsFilePath, int nFlag)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
BOOL
|
||||
__stdcall EgtSaveObjToFile( int nId, const wchar_t* wsFilePath, int nFlag)
|
||||
__stdcall EgtSaveObjToFile( int nNumId, const int nIds[], const wchar_t* wsFilePath, int nFlag)
|
||||
{
|
||||
return ( ExeSaveObjToFile( nId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
|
||||
INTVECTOR vId ;
|
||||
vId.reserve( nNumId) ;
|
||||
for ( int i = 0 ; i < nNumId ; ++i)
|
||||
vId.push_back( nIds[i]) ;
|
||||
return ( ExeSaveObjToFile( vId, wstrztoA( wsFilePath), nFlag) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user