mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 11:14:58 -06:00
25 lines
790 B
C++
Executable File
25 lines
790 B
C++
Executable File
// UpdateCallbackAgent.h
|
|
|
|
#ifndef __UPDATECALLBACKAGENT_H
|
|
#define __UPDATECALLBACKAGENT_H
|
|
|
|
#include "../Common/UpdateCallback.h"
|
|
#include "IFolderArchive.h"
|
|
|
|
class CUpdateCallbackAgent: public IUpdateCallbackUI
|
|
{
|
|
virtual HRESULT SetTotal(UINT64 size);
|
|
virtual HRESULT SetCompleted(const UINT64 *completeValue);
|
|
virtual HRESULT CheckBreak();
|
|
virtual HRESULT Finilize();
|
|
virtual HRESULT GetStream(const wchar_t *name, bool isAnti);
|
|
virtual HRESULT OpenFileError(const wchar_t *name, DWORD systemError);
|
|
virtual HRESULT SetOperationResult(INT32 operationResult);
|
|
virtual HRESULT CryptoGetTextPassword2(INT32 *passwordIsDefined, BSTR *password);
|
|
CMyComPtr<ICryptoGetTextPassword2> _cryptoGetTextPassword;
|
|
public:
|
|
CMyComPtr<IFolderArchiveUpdateCallback> Callback;
|
|
};
|
|
|
|
#endif
|