#include "StdAfx.h"#include "Extract.h"#include "Defs.h"#include "PropVariant.h"#include "FileDir.h"#include "OpenArchive.h"#include "Windows/DLL.h"Go to the source code of this file.
Functions | |
| HRESULT | DecompressArchive (IInArchive *archive, const UString &defaultName, const NWildcard::CCensorNode &wildcardCensor, const CExtractOptions &options, IExtractCallbackUI *callback) |
| HRESULT | DecompressArchives (UStringVector &archivePaths, UStringVector &archivePathsFull, const NWildcard::CCensorNode &wildcardCensor, const CExtractOptions &optionsSpec, IOpenCallbackUI *openCallback, IExtractCallbackUI *extractCallback) |
| HRESULT DecompressArchive | ( | IInArchive * | archive, | |
| const UString & | defaultName, | |||
| const NWildcard::CCensorNode & | wildcardCensor, | |||
| const CExtractOptions & | options, | |||
| IExtractCallbackUI * | callback | |||
| ) |
Definition at line 21 of file Extract.cpp.
References CRecordVector< T >::Add(), CExtractOptions::ArchiveFileInfo, NWindows::NFile::NFind::CFileInfoBase::Attributes, NWildcard::CCensorNode::CheckPath(), NWindows::NFile::NDirectory::CreateComplexDirectory(), CExtractOptions::DefaultItemName, IExtractCallbackUI::ExtractResult(), CRecordVector< T >::Front(), GetArchiveItemPath(), HRESULT, CArchiveExtractCallback::Init(), IsArchiveItemFolder(), CStringBase< T >::IsEmpty(), NWindows::NFile::NFind::CFileInfoBase::LastWriteTime, CExtractOptions::OutputDir, CExtractOptions::OverwriteMode, CExtractOptions::PathMode, CStringBase< T >::Replace(), RINOK, S_OK, CBaseRecordVector::Size(), CExtractOptions::StdOutMode, CExtractOptions::TestMode, and IExtractCallbackUI::ThereAreNoFiles().
Referenced by DecompressArchives().
| HRESULT DecompressArchives | ( | UStringVector & | archivePaths, | |
| UStringVector & | archivePathsFull, | |||
| const NWildcard::CCensorNode & | wildcardCensor, | |||
| const CExtractOptions & | optionsSpec, | |||
| IOpenCallbackUI * | openCallback, | |||
| IExtractCallbackUI * | extractCallback | |||
| ) |
Definition at line 80 of file Extract.cpp.
References CExtractOptions::ArchiveFileInfo, IExtractCallbackUI::BeforeOpen(), DecompressArchive(), CExtractOptions::DefaultItemName, CObjectVector< T >::Delete(), NWindows::NFile::NFind::FindFile(), CObjectVector< T >::FindInSorted(), IOpenCallbackUI::GetPasswordIfAny(), HRESULT, index, NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), CStringBase< T >::IsEmpty(), MyOpenArchive(), IExtractCallbackUI::OpenResult(), RINOK, S_OK, IExtractCallbackUI::SetPassword(), and CBaseRecordVector::Size().
1.5.6