1 // OpenCallbackConsole.h 2 3 #ifndef __OPENCALLBACKCONSOLE_H 4 #define __OPENCALLBACKCONSOLE_H 5 6 #include "Common/StdOutStream.h" 7 #include "../Common/ArchiveOpenCallback.h" 8 9 class COpenCallbackConsole: public IOpenCallbackUI 10 { 11 public: 12 INTERFACE_IOpenCallbackUI(;) 13 14 CStdOutStream *OutStream; 15 16 #ifndef _NO_CRYPTO 17 bool PasswordIsDefined; 18 bool PasswordWasAsked; 19 UString Password; 20 COpenCallbackConsole(): PasswordIsDefined(false), PasswordWasAsked(false) {} 21 #endif 22 }; 23 24 #endif 25