Initial community commit
This commit is contained in:
parent
537bcbc862
commit
fc06254474
16440 changed files with 4239995 additions and 2 deletions
35
Src/external_dependencies/openmpt-trunk/include/unrar/options.cpp
vendored
Normal file
35
Src/external_dependencies/openmpt-trunk/include/unrar/options.cpp
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
#include "rar.hpp"
|
||||
|
||||
RAROptions::RAROptions()
|
||||
{
|
||||
Init();
|
||||
}
|
||||
|
||||
|
||||
RAROptions::~RAROptions()
|
||||
{
|
||||
// It is important for security reasons, so we do not have the unnecessary
|
||||
// password data left in memory.
|
||||
memset(this,0,sizeof(RAROptions));
|
||||
}
|
||||
|
||||
|
||||
void RAROptions::Init()
|
||||
{
|
||||
memset(this,0,sizeof(RAROptions));
|
||||
WinSize=0x2000000;
|
||||
Overwrite=OVERWRITE_DEFAULT;
|
||||
Method=3;
|
||||
MsgStream=MSG_STDOUT;
|
||||
ConvertNames=NAMES_ORIGINALCASE;
|
||||
xmtime=EXTTIME_MAX;
|
||||
FileSizeLess=INT64NDF;
|
||||
FileSizeMore=INT64NDF;
|
||||
HashType=HASH_CRC32;
|
||||
#ifdef RAR_SMP
|
||||
Threads=GetNumberOfThreads();
|
||||
#endif
|
||||
#ifdef USE_QOPEN
|
||||
QOpenMode=QOPEN_AUTO;
|
||||
#endif
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue