other-licenses/7zstub/src/7zip/UI/GUI/OpenCallbackGUI.h

branch
TOR_BUG_9701
changeset 14
925c144e1f1f
equal deleted inserted replaced
-1:000000000000 0:d99ec9a1761f
1 // OpenCallbackGUI.h
2
3 #ifndef __OPEN_CALLBACK_GUI_H
4 #define __OPEN_CALLBACK_GUI_H
5
6 #include "../Common/ArchiveOpenCallback.h"
7
8 class COpenCallbackGUI: public IOpenCallbackUI
9 {
10 public:
11 HRESULT CheckBreak();
12 HRESULT SetTotal(const UInt64 *files, const UInt64 *bytes);
13 HRESULT SetCompleted(const UInt64 *files, const UInt64 *bytes);
14 #ifndef _NO_CRYPTO
15 HRESULT CryptoGetTextPassword(BSTR *password);
16 HRESULT GetPasswordIfAny(UString &password);
17 bool PasswordIsDefined;
18 UString Password;
19 #endif
20
21 HWND ParentWindow;
22
23 COpenCallbackGUI():
24 #ifndef _NO_CRYPTO
25 PasswordIsDefined(false),
26 #endif
27 ParentWindow(0) {}
28 };
29
30 #endif

mercurial