mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-09 04:07:08 -06:00
4.44 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
804edc5756
commit
d9666cf046
27
CPP/7zip/UI/Console/OpenCallbackConsole.h
Executable file
27
CPP/7zip/UI/Console/OpenCallbackConsole.h
Executable file
@@ -0,0 +1,27 @@
|
||||
// OpenCallbackConsole.h
|
||||
|
||||
#ifndef __OPENCALLBACKCONSOLE_H
|
||||
#define __OPENCALLBACKCONSOLE_H
|
||||
|
||||
#include "Common/StdOutStream.h"
|
||||
#include "../Common/ArchiveOpenCallback.h"
|
||||
|
||||
class COpenCallbackConsole: public IOpenCallbackUI
|
||||
{
|
||||
public:
|
||||
HRESULT CheckBreak();
|
||||
HRESULT SetTotal(const UInt64 *files, const UInt64 *bytes);
|
||||
HRESULT SetCompleted(const UInt64 *files, const UInt64 *bytes);
|
||||
HRESULT CryptoGetTextPassword(BSTR *password);
|
||||
HRESULT GetPasswordIfAny(UString &password);
|
||||
bool WasPasswordAsked();
|
||||
void ClearPasswordWasAskedFlag();
|
||||
|
||||
CStdOutStream *OutStream;
|
||||
bool PasswordIsDefined;
|
||||
UString Password;
|
||||
bool PasswordWasAsked;
|
||||
COpenCallbackConsole(): PasswordIsDefined(false), PasswordWasAsked(false) {}
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user