mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-13 10:11:34 -06:00
Update to 7-Zip 17.00 Beta
This commit is contained in:
@@ -15,35 +15,45 @@ class CUpdateCallback100Imp:
|
||||
public IFolderArchiveUpdateCallback,
|
||||
public IFolderArchiveUpdateCallback2,
|
||||
public IFolderScanProgress,
|
||||
public ICryptoGetTextPassword2,
|
||||
public ICryptoGetTextPassword,
|
||||
public IArchiveOpenCallback,
|
||||
public CMyUnknownImp
|
||||
{
|
||||
// CMyComPtr<IInFolderArchive> _archiveHandler;
|
||||
CProgressBox *_percent;
|
||||
UInt64 _total;
|
||||
bool m_PasswordIsDefined;
|
||||
UString m_Password;
|
||||
|
||||
public:
|
||||
MY_UNKNOWN_IMP4(
|
||||
|
||||
bool PasswordIsDefined;
|
||||
UString Password;
|
||||
|
||||
MY_UNKNOWN_IMP6(
|
||||
IFolderArchiveUpdateCallback,
|
||||
IFolderArchiveUpdateCallback2,
|
||||
IFolderScanProgress,
|
||||
ICryptoGetTextPassword)
|
||||
ICryptoGetTextPassword2,
|
||||
ICryptoGetTextPassword,
|
||||
IArchiveOpenCallback
|
||||
)
|
||||
|
||||
INTERFACE_IProgress(;)
|
||||
INTERFACE_IFolderArchiveUpdateCallback(;)
|
||||
INTERFACE_IFolderArchiveUpdateCallback2(;)
|
||||
INTERFACE_IFolderScanProgress(;)
|
||||
INTERFACE_IArchiveOpenCallback(;)
|
||||
|
||||
STDMETHOD(CryptoGetTextPassword)(BSTR *password);
|
||||
STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password);
|
||||
|
||||
CUpdateCallback100Imp(): _total(0) {}
|
||||
void Init(/* IInFolderArchive *archiveHandler, */ CProgressBox *progressBox)
|
||||
{
|
||||
// _archiveHandler = archiveHandler;
|
||||
_percent = progressBox;
|
||||
m_PasswordIsDefined = false;
|
||||
PasswordIsDefined = false;
|
||||
Password.Empty();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user