Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
1 // OpenCallbackGUI.h
3 #ifndef __OPEN_CALLBACK_GUI_H
4 #define __OPEN_CALLBACK_GUI_H
6 #include "../Common/ArchiveOpenCallback.h"
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
21 HWND ParentWindow;
23 COpenCallbackGUI():
24 #ifndef _NO_CRYPTO
25 PasswordIsDefined(false),
26 #endif
27 ParentWindow(0) {}
28 };
30 #endif