mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 21:14:58 -06:00
4.59 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
3901bf0ab8
commit
173c07e166
@@ -10,35 +10,33 @@
|
||||
#include "ProgressDialog2.h"
|
||||
#include "../../IPassword.h"
|
||||
|
||||
#ifdef LANG
|
||||
#ifdef LANG
|
||||
#include "LangUtils.h"
|
||||
#endif
|
||||
|
||||
class CUpdateCallback100Imp:
|
||||
class CUpdateCallback100Imp:
|
||||
public IFolderArchiveUpdateCallback,
|
||||
public ICryptoGetTextPassword2,
|
||||
public ICryptoGetTextPassword,
|
||||
public IArchiveOpenCallback,
|
||||
public ICompressProgressInfo,
|
||||
public CMyUnknownImp
|
||||
{
|
||||
public:
|
||||
MY_UNKNOWN_IMP3(
|
||||
IFolderArchiveUpdateCallback,
|
||||
MY_UNKNOWN_IMP5(
|
||||
IFolderArchiveUpdateCallback,
|
||||
ICryptoGetTextPassword2,
|
||||
ICryptoGetTextPassword,
|
||||
IArchiveOpenCallback,
|
||||
ICompressProgressInfo)
|
||||
|
||||
// IProgress
|
||||
INTERFACE_IProgress(;)
|
||||
INTERFACE_IArchiveOpenCallback(;)
|
||||
INTERFACE_IFolderArchiveUpdateCallback(;)
|
||||
|
||||
STDMETHOD(SetTotal)(UInt64 size);
|
||||
STDMETHOD(SetCompleted)(const UInt64 *completeValue);
|
||||
STDMETHOD(SetRatioInfo)(const UInt64 *inSize, const UInt64 *outSize);
|
||||
|
||||
// IUpdateCallBack
|
||||
STDMETHOD(CompressOperation)(const wchar_t *name);
|
||||
STDMETHOD(DeleteOperation)(const wchar_t *name);
|
||||
STDMETHOD(OperationResult)(Int32 operationResult);
|
||||
STDMETHOD(UpdateErrorMessage)(const wchar_t *message);
|
||||
STDMETHOD(SetNumFiles)(UInt64 numFiles);
|
||||
|
||||
STDMETHOD(CryptoGetTextPassword)(BSTR *password);
|
||||
STDMETHOD(CryptoGetTextPassword2)(Int32 *passwordIsDefined, BSTR *password);
|
||||
private:
|
||||
bool _passwordIsDefined;
|
||||
@@ -56,7 +54,7 @@ public:
|
||||
UInt64 NumFolders;
|
||||
UInt64 NumFiles;
|
||||
|
||||
void Init(HWND parentWindow,
|
||||
void Init(HWND parentWindow,
|
||||
bool passwordIsDefined, const UString &password)
|
||||
{
|
||||
_passwordIsDefined = passwordIsDefined;
|
||||
|
||||
Reference in New Issue
Block a user