1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/other-licenses/7zstub/src/7zip/UI/GUI/OpenCallbackGUI.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +// OpenCallbackGUI.h 1.5 + 1.6 +#ifndef __OPEN_CALLBACK_GUI_H 1.7 +#define __OPEN_CALLBACK_GUI_H 1.8 + 1.9 +#include "../Common/ArchiveOpenCallback.h" 1.10 + 1.11 +class COpenCallbackGUI: public IOpenCallbackUI 1.12 +{ 1.13 +public: 1.14 + HRESULT CheckBreak(); 1.15 + HRESULT SetTotal(const UInt64 *files, const UInt64 *bytes); 1.16 + HRESULT SetCompleted(const UInt64 *files, const UInt64 *bytes); 1.17 + #ifndef _NO_CRYPTO 1.18 + HRESULT CryptoGetTextPassword(BSTR *password); 1.19 + HRESULT GetPasswordIfAny(UString &password); 1.20 + bool PasswordIsDefined; 1.21 + UString Password; 1.22 + #endif 1.23 + 1.24 + HWND ParentWindow; 1.25 + 1.26 + COpenCallbackGUI(): 1.27 + #ifndef _NO_CRYPTO 1.28 + PasswordIsDefined(false), 1.29 + #endif 1.30 + ParentWindow(0) {} 1.31 +}; 1.32 + 1.33 +#endif