mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 01:14:55 -06:00
fix: SoleFolderIndex: continue fixing method decl/impl
This commit is contained in:
@@ -44,7 +44,7 @@ Z7_COM7F_IMF(CAgentFolder::CopyTo(Int32 moveMode, const UInt32 *indices, UInt32
|
||||
NExtract::NPathMode::kNoPaths;
|
||||
|
||||
Int64 soleFolderIndex;
|
||||
extractCallback2->GetSoleFolderIndex(&soleFolderIndex);
|
||||
callback->GetSoleFolderIndex(&soleFolderIndex);
|
||||
|
||||
return Extract(indices, numItems,
|
||||
includeAltStreams, replaceAltStreamCharsMode,
|
||||
|
||||
@@ -27,6 +27,7 @@ IArchiveFolder is used by:
|
||||
x(Extract(const UInt32 *indices, UInt32 numItems, \
|
||||
Int32 includeAltStreams, \
|
||||
Int32 replaceAltStreamCharsMode, \
|
||||
Int64 soleFolderIndex, \
|
||||
NExtract::NPathMode::EEnum pathMode, \
|
||||
NExtract::NOverwriteMode::EEnum overwriteMode, \
|
||||
const wchar_t *path, Int32 testMode, \
|
||||
|
||||
@@ -109,9 +109,9 @@ HRESULT CPanelCopyThread::ProcessVirt()
|
||||
options->folder, BoolToInt(true), extractCallback2);
|
||||
}
|
||||
else
|
||||
CMyComPtr<IFolderArchiveExtractCallback> extractCallback2;
|
||||
RINOK(ExtractCallback.QueryInterface(IID_IFolderArchiveExtractCallback, &extractCallback2))
|
||||
extractCallback2->SetSoleFolderIndex(options->soleFolderIndex);
|
||||
// CMyComPtr<IFolderArchiveExtractCallback> extractCallback2;
|
||||
// RINOK(ExtractCallback.QueryInterface(IID_IFolderArchiveExtractCallback, &extractCallback2))
|
||||
ExtractCallback->SetSoleFolderIndex(options->soleFolderIndex);
|
||||
result2 = FolderOperations->CopyTo(
|
||||
BoolToInt(options->moveMode),
|
||||
&Indices.Front(), Indices.Size(),
|
||||
|
||||
Reference in New Issue
Block a user