#include <ArchiveOpenCallback.h>

Public Member Functions | |
| MY_UNKNOWN_IMP3 (IArchiveOpenVolumeCallback, ICryptoGetTextPassword, IArchiveOpenSetSubArchiveName) STDMETHOD(SetTotal)(const UInt64 *files | |
| STDMETHOD() | SetCompleted (const UInt64 *files, const UInt64 *bytes) |
| STDMETHOD() | GetProperty (PROPID propID, PROPVARIANT *value) |
| STDMETHOD() | GetStream (const wchar_t *name, IInStream **inStream) |
| STDMETHOD() | CryptoGetTextPassword (BSTR *password) |
| STDMETHOD (SetSubArchiveName(const wchar_t *name)) | |
| void | Init (const UString &folderPrefix, const UString &fileName) |
| int | FindName (const UString &name) |
Public Attributes | |
| const UInt64 * | bytes |
| UStringVector | FileNames |
| IOpenCallbackUI * | Callback |
Private Attributes | |
| UString | _folderPrefix |
| NWindows::NFile::NFind::CFileInfoW | _fileInfo |
| bool | _subArchiveMode |
| UString | _subArchiveName |
Definition at line 28 of file ArchiveOpenCallback.h.
| COpenCallbackImp::MY_UNKNOWN_IMP3 | ( | IArchiveOpenVolumeCallback | , | |
| ICryptoGetTextPassword | , | |||
| IArchiveOpenSetSubArchiveName | ||||
| ) | const |
Definition at line 21 of file ArchiveOpenCallback.cpp.
References Callback, and IOpenCallbackUI::SetTotal().
| STDMETHODIMP COpenCallbackImp::GetProperty | ( | PROPID | propID, | |
| PROPVARIANT * | value | |||
| ) |
Definition at line 26 of file ArchiveOpenCallback.cpp.
References _fileInfo, _subArchiveMode, _subArchiveName, NWindows::NFile::NFind::CFileInfoBase::Attributes, NWindows::NFile::NFind::CFileInfoBase::CreationTime, NWindows::NCOM::CPropVariant::Detach(), NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), kpidAttributes, kpidCreationTime, kpidIsFolder, kpidLastAccessTime, kpidLastWriteTime, kpidName, kpidSize, NWindows::NFile::NFind::CFileInfoBase::LastAccessTime, NWindows::NFile::NFind::CFileInfoBase::LastWriteTime, NWindows::NFile::NFind::CFileInfoW::Name, S_OK, and NWindows::NFile::NFind::CFileInfoBase::Size.
| STDMETHODIMP COpenCallbackImp::GetStream | ( | const wchar_t * | name, | |
| IInStream ** | inStream | |||
| ) |
Definition at line 89 of file ArchiveOpenCallback.cpp.
References _fileInfo, _folderPrefix, _subArchiveMode, CObjectVector< T >::Add(), Callback, IOpenCallbackUI::CheckBreak(), CMyComPtr< T >::Detach(), FileNames, NWindows::NFile::NFind::FindFile(), GetLastError(), NWindows::NFile::NFind::CFileInfoBase::IsDirectory(), CInFileStreamVol::Name, NULL, CInFileStream::Open(), CInFileStreamVol::OpenCallbackImp, CInFileStreamVol::OpenCallbackRef, RINOK, S_FALSE, and S_OK.
| STDMETHODIMP COpenCallbackImp::CryptoGetTextPassword | ( | BSTR * | password | ) |
Definition at line 114 of file ArchiveOpenCallback.cpp.
References Callback, and IOpenCallbackUI::CryptoGetTextPassword().
| COpenCallbackImp::STDMETHOD | ( | SetSubArchiveName(const wchar_t *name) | ) | [inline] |
Definition at line 63 of file ArchiveOpenCallback.h.
References _subArchiveMode, _subArchiveName, and S_OK.
Definition at line 78 of file ArchiveOpenCallback.h.
References _fileInfo, _folderPrefix, _subArchiveMode, CBaseRecordVector::Clear(), FileNames, and NWindows::NFile::NFind::FindFile().
Referenced by MyOpenArchive().
| int COpenCallbackImp::FindName | ( | const UString & | name | ) |
| const UInt64* COpenCallbackImp::bytes |
Definition at line 51 of file ArchiveOpenCallback.h.
UString COpenCallbackImp::_folderPrefix [private] |
Definition at line 72 of file ArchiveOpenCallback.h.
Referenced by GetProperty(), GetStream(), and Init().
bool COpenCallbackImp::_subArchiveMode [private] |
Definition at line 73 of file ArchiveOpenCallback.h.
Referenced by GetProperty(), GetStream(), Init(), and STDMETHOD().
UString COpenCallbackImp::_subArchiveName [private] |
Definition at line 76 of file ArchiveOpenCallback.h.
Referenced by GetStream(), Init(), and MyOpenArchive().
Definition at line 77 of file ArchiveOpenCallback.h.
Referenced by CryptoGetTextPassword(), GetStream(), MyOpenArchive(), and SetCompleted().
1.5.6