| 227 | |
| 228 | |
| 229 | void ComprDataIO::ShowUnpRead(int64 ArcPos,int64 ArcSize) |
| 230 | { |
| 231 | if (ShowProgress && SrcFile!=NULL) |
| 232 | { |
| 233 | if (TotalArcSize!=0) |
| 234 | { |
| 235 | // important when processing several archives or multivolume archive |
| 236 | ArcSize=TotalArcSize; |
| 237 | ArcPos+=ProcessedArcSize; |
| 238 | } |
| 239 | |
| 240 | Archive *SrcArc=(Archive *)SrcFile; |
| 241 | RAROptions *Cmd=SrcArc->GetRAROptions(); |
| 242 | |
| 243 | int CurPercent=ToPercent(ArcPos,ArcSize); |
| 244 | if (!Cmd->DisablePercentage && CurPercent!=LastPercent) |
| 245 | { |
| 246 | uiExtractProgress(CurUnpWrite,SrcArc->FileHead.UnpSize,ArcPos,ArcSize); |
| 247 | LastPercent=CurPercent; |
| 248 | } |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | |
| 253 | void ComprDataIO::ShowUnpWrite() |
nothing calls this directly
no test coverage detected