Symbian (Backup sis on installing)安装时备份SIS的实现
2010-02-03 16:30:00 来源:WEB开发网核心提示:if(err==KErrNone){err = fs.SetModified(filename, entry.iModified);if(err!=KErrNone) // KErrInUse, or KErrPermissionDenied if the file is in "esource\"
if(err==KErrNone)
{
err = fs.SetModified(filename, entry.iModified);
if(err!=KErrNone) // KErrInUse, or KErrPermissionDenied if the file is in "esource\"
{
found = ETrue;
}
}
}
}
//找到后copy一份文件即可
if(found)
{
err = BaflUtils::CopyFile(fs, filename, KSisBackup);
User::LeaveIfError(err);
}
更多精彩
赞助商链接