Index: third_party/lzma/v4_65/files/CPP/7zip/UI/Console/OpenCallbackConsole.cpp |
diff --git a/third_party/lzma/v4_65/files/CPP/7zip/UI/Console/OpenCallbackConsole.cpp b/third_party/lzma/v4_65/files/CPP/7zip/UI/Console/OpenCallbackConsole.cpp |
deleted file mode 100644 |
index 7dba2ad5d9b01e468cbfe287fe76038b1b82d2ee..0000000000000000000000000000000000000000 |
--- a/third_party/lzma/v4_65/files/CPP/7zip/UI/Console/OpenCallbackConsole.cpp |
+++ /dev/null |
@@ -1,58 +0,0 @@ |
-// OpenCallbackConsole.cpp |
- |
-#include "StdAfx.h" |
- |
-#include "OpenCallbackConsole.h" |
- |
-#include "ConsoleClose.h" |
-#include "UserInputUtils.h" |
- |
-HRESULT COpenCallbackConsole::Open_CheckBreak() |
-{ |
- if (NConsoleClose::TestBreakSignal()) |
- return E_ABORT; |
- return S_OK; |
-} |
- |
-HRESULT COpenCallbackConsole::Open_SetTotal(const UInt64 *, const UInt64 *) |
-{ |
- return Open_CheckBreak(); |
-} |
- |
-HRESULT COpenCallbackConsole::Open_SetCompleted(const UInt64 *, const UInt64 *) |
-{ |
- return Open_CheckBreak(); |
-} |
- |
-#ifndef _NO_CRYPTO |
- |
-HRESULT COpenCallbackConsole::Open_CryptoGetTextPassword(BSTR *password) |
-{ |
- PasswordWasAsked = true; |
- RINOK(Open_CheckBreak()); |
- if (!PasswordIsDefined) |
- { |
- Password = GetPassword(OutStream); |
- PasswordIsDefined = true; |
- } |
- return StringToBstr(Password, password); |
-} |
- |
-HRESULT COpenCallbackConsole::Open_GetPasswordIfAny(UString &password) |
-{ |
- if (PasswordIsDefined) |
- password = Password; |
- return S_OK; |
-} |
- |
-bool COpenCallbackConsole::Open_WasPasswordAsked() |
-{ |
- return PasswordWasAsked; |
-} |
- |
-void COpenCallbackConsole::Open_ClearPasswordWasAskedFlag() |
-{ |
- PasswordWasAsked = false; |
-} |
- |
-#endif |