e402720a12
- Implemented plugin API in `pluginapi.cpp` and `pluginapi.h` for NSIS integration. - Added resource files `resource.h` and `resource.rc` for versioning and resource management. - Created `ExtractCallbackConsole` class to handle extraction progress and user input. - Developed main extraction logic in `Main.cpp` and `MainAr.cpp` for handling archives. - Introduced user input utilities in `UserInputUtils2.cpp` and `UserInputUtils2.h` for password handling and user prompts. - Added break signal handling in `NSISBreak.cpp` and `NSISBreak.h` for graceful interruption of extraction processes. - Included standard header `StdAfx.h` for precompiled headers and common includes.
25 lines
344 B
C++
25 lines
344 B
C++
// UserInputUtils.h
|
|
|
|
#ifndef __USERINPUTUTILS_H
|
|
#define __USERINPUTUTILS_H
|
|
|
|
#include "Common/StdOutStream.h"
|
|
|
|
namespace NUserAnswerMode {
|
|
|
|
enum EEnum
|
|
{
|
|
kYes,
|
|
kNo,
|
|
kYesAll,
|
|
kNoAll,
|
|
kAutoRename,
|
|
kQuit
|
|
};
|
|
}
|
|
|
|
NUserAnswerMode::EEnum ScanUserYesNoAllQuit2(CStdOutStream *outStream);
|
|
UString GetPassword(CStdOutStream *outStream);
|
|
|
|
#endif
|