Welcome to mirror list, hosted at ThFree Co, Russian Federation.

UpdateCallbackAgent.h « Agent « UI « 7zip « CPP - github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1cff501a9cd9d770f001fc2da88bfa555bb0a6c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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