mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-12 05:09:59 -06:00
23.01
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// UpdateCallbackFar.h
|
||||
|
||||
#ifndef __UPDATE_CALLBACK_FAR_H
|
||||
#define __UPDATE_CALLBACK_FAR_H
|
||||
#ifndef ZIP7_INC_UPDATE_CALLBACK_FAR_H
|
||||
#define ZIP7_INC_UPDATE_CALLBACK_FAR_H
|
||||
|
||||
#include "../../../Common/MyCom.h"
|
||||
|
||||
@@ -11,43 +11,27 @@
|
||||
|
||||
#include "ProgressBox.h"
|
||||
|
||||
class CUpdateCallback100Imp:
|
||||
public IFolderArchiveUpdateCallback,
|
||||
public IFolderArchiveUpdateCallback2,
|
||||
public IFolderScanProgress,
|
||||
public ICryptoGetTextPassword2,
|
||||
public ICryptoGetTextPassword,
|
||||
public IArchiveOpenCallback,
|
||||
public CMyUnknownImp
|
||||
{
|
||||
Z7_CLASS_IMP_COM_6(
|
||||
CUpdateCallback100Imp
|
||||
, IFolderArchiveUpdateCallback
|
||||
, IFolderArchiveUpdateCallback2
|
||||
, IFolderScanProgress
|
||||
, ICryptoGetTextPassword2
|
||||
, ICryptoGetTextPassword
|
||||
, IArchiveOpenCallback
|
||||
)
|
||||
Z7_IFACE_COM7_IMP(IProgress)
|
||||
|
||||
// CMyComPtr<IInFolderArchive> _archiveHandler;
|
||||
CProgressBox *_percent;
|
||||
UInt64 _total;
|
||||
|
||||
// UInt64 _total;
|
||||
public:
|
||||
|
||||
bool PasswordIsDefined;
|
||||
UString Password;
|
||||
|
||||
MY_UNKNOWN_IMP6(
|
||||
IFolderArchiveUpdateCallback,
|
||||
IFolderArchiveUpdateCallback2,
|
||||
IFolderScanProgress,
|
||||
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) {}
|
||||
CUpdateCallback100Imp()
|
||||
// : _total(0)
|
||||
{}
|
||||
void Init(/* IInFolderArchive *archiveHandler, */ CProgressBox *progressBox)
|
||||
{
|
||||
// _archiveHandler = archiveHandler;
|
||||
|
||||
Reference in New Issue
Block a user