Files
easy7zip/CPP/7zip/UI/Agent/UpdateCallbackAgent.h
Igor Pavlov d9666cf046 4.44 beta
2016-05-28 00:15:49 +01:00

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