michael@0: // OpenCallbackGUI.h michael@0: michael@0: #ifndef __OPEN_CALLBACK_GUI_H michael@0: #define __OPEN_CALLBACK_GUI_H michael@0: michael@0: #include "../Common/ArchiveOpenCallback.h" michael@0: michael@0: class COpenCallbackGUI: public IOpenCallbackUI michael@0: { michael@0: public: michael@0: HRESULT CheckBreak(); michael@0: HRESULT SetTotal(const UInt64 *files, const UInt64 *bytes); michael@0: HRESULT SetCompleted(const UInt64 *files, const UInt64 *bytes); michael@0: #ifndef _NO_CRYPTO michael@0: HRESULT CryptoGetTextPassword(BSTR *password); michael@0: HRESULT GetPasswordIfAny(UString &password); michael@0: bool PasswordIsDefined; michael@0: UString Password; michael@0: #endif michael@0: michael@0: HWND ParentWindow; michael@0: michael@0: COpenCallbackGUI(): michael@0: #ifndef _NO_CRYPTO michael@0: PasswordIsDefined(false), michael@0: #endif michael@0: ParentWindow(0) {} michael@0: }; michael@0: michael@0: #endif