diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2008-12-31 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:58 +0300 |
commit | 3a524e5ba2d7bb0c46e11502822f8093dd2ab0f4 (patch) | |
tree | b33da9cac0a5fc22a16bdf4de106c8a9eefd1465 /CPP/7zip/UI/Common/UpdateProduce.cpp | |
parent | c1f1243a70558e86e14b1ea09dc287737378894b (diff) |
4.634.63
Diffstat (limited to 'CPP/7zip/UI/Common/UpdateProduce.cpp')
-rwxr-xr-x | CPP/7zip/UI/Common/UpdateProduce.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CPP/7zip/UI/Common/UpdateProduce.cpp b/CPP/7zip/UI/Common/UpdateProduce.cpp index b2bc59a5..c21db3b2 100755 --- a/CPP/7zip/UI/Common/UpdateProduce.cpp +++ b/CPP/7zip/UI/Common/UpdateProduce.cpp @@ -10,8 +10,9 @@ static const char *kUpdateActionSetCollision = "Internal collision in update act void UpdateProduce( const CRecordVector<CUpdatePair> &updatePairs, - const NUpdateArchive::CActionSet &actionSet, - CRecordVector<CUpdatePair2> &operationChain) + const CActionSet &actionSet, + CRecordVector<CUpdatePair2> &operationChain, + IUpdateProduceCallback *callback) { for (int i = 0; i < updatePairs.Size(); i++) { @@ -22,6 +23,7 @@ void UpdateProduce( up2.DirIndex = pair.DirIndex; up2.ArcIndex = pair.ArcIndex; up2.NewData = up2.NewProps = true; + switch(actionSet.StateActions[pair.State]) { case NPairAction::kIgnore: @@ -30,6 +32,8 @@ void UpdateProduce( IgnoreArchiveItem(m_ArchiveItems[pair.ArcIndex]); // cout << "deleting"; */ + if (callback) + callback->ShowDeleteFile(pair.ArcIndex); continue; case NPairAction::kCopy: |