EgtGeneral 1.6f1 :
- aggiunto EgtUUID e relativa gestione - aggiunte CopyFileEgt e RenameFile - aggiunt Writer per scrivere file di testo anche compressi.
This commit is contained in:
@@ -40,6 +40,20 @@ ExistsFile( const string& sFile)
|
||||
return true ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
CopyFileEgt( const string& sFile, const string& sNewFile)
|
||||
{
|
||||
return ( ::CopyFileW( stringtoW( sFile), stringtoW( sNewFile), false) != 0) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
RenameFile( const string& sFile, const string& sNewFile)
|
||||
{
|
||||
return ( ::MoveFileW( stringtoW( sFile), stringtoW( sNewFile)) != 0) ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
bool
|
||||
EraseFile( const string& sFile)
|
||||
|
||||
Reference in New Issue
Block a user