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

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CPP/7zip/UI/Agent/UpdateCallbackAgent.h')
-rwxr-xr-xCPP/7zip/UI/Agent/UpdateCallbackAgent.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Agent/UpdateCallbackAgent.h b/CPP/7zip/UI/Agent/UpdateCallbackAgent.h
new file mode 100755
index 00000000..1cff501a
--- /dev/null
+++ b/CPP/7zip/UI/Agent/UpdateCallbackAgent.h
@@ -0,0 +1,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