MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / RAROptions

Class RAROptions

Libraries/unrar/options.hpp:86–213  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85
86class RAROptions
87{
88 public:
89 RAROptions();
90 ~RAROptions();
91 void Init();
92
93 uint ExclFileAttr;
94 uint InclFileAttr;
95
96 // We handle -ed and -e+d with special flags instead of attribute mask,
97 // so it works with both Windows and Unix archives.
98 bool ExclDir;
99 bool InclDir;
100
101 bool InclAttrSet;
102 size_t WinSize;
103 wchar TempPath[NM];
104 wchar SFXModule[NM];
105
106#ifdef USE_QOPEN
107 QOPEN_MODE QOpenMode;
108#endif
109
110 bool ConfigDisabled; // Switch -cfg-.
111 wchar ExtrPath[NM];
112 wchar CommentFile[NM];
113 RAR_CHARSET CommentCharset;
114 RAR_CHARSET FilelistCharset;
115 RAR_CHARSET ErrlogCharset;
116 RAR_CHARSET RedirectCharset;
117
118 wchar ArcPath[NM];
119 SecPassword Password;
120 bool EncryptHeaders;
121
122 bool ManualPassword; // Password entered manually during operation, might need to clean for next archive.
123
124 wchar LogName[NM];
125 MESSAGE_TYPE MsgStream;
126 SOUND_NOTIFY_MODE Sound;
127 OVERWRITE_MODE Overwrite;
128 int Method;
129 HASH_TYPE HashType;
130 int Recovery;
131 int RecVolNumber;
132 bool DisablePercentage;
133 bool DisableCopyright;
134 bool DisableDone;
135 bool PrintVersion;
136 int Solid;
137 int SolidCount;
138 bool ClearArc;
139 bool AddArcOnly;
140 bool DisableComment;
141 bool FreshFiles;
142 bool UpdateFiles;
143 PATH_EXCL_MODE ExclPath;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected