Imported Upstream version 9.20
[platform/upstream/7zip.git] / CPP / 7zip / UI / GUI / ExtractGUI.h
1 // GUI/ExtractGUI.h\r
2 \r
3 #ifndef __EXTRACT_GUI_H\r
4 #define __EXTRACT_GUI_H\r
5 \r
6 #include "../Common/Extract.h"\r
7 \r
8 #include "../FileManager/ExtractCallback.h"\r
9 \r
10 /*\r
11   RESULT can be S_OK, even if there are errors!!!\r
12   if RESULT == S_OK, check extractCallback->IsOK() after ExtractGUI().\r
13 \r
14   RESULT = E_ABORT - user break.\r
15   RESULT != E_ABORT:\r
16   {\r
17    messageWasDisplayed = true  - message was displayed already.\r
18    messageWasDisplayed = false - there was some internal error, so you must show error message.\r
19   }\r
20 */\r
21 \r
22 HRESULT ExtractGUI(\r
23     CCodecs *codecs,\r
24     const CIntVector &formatIndices,\r
25     UStringVector &archivePaths,\r
26     UStringVector &archivePathsFull,\r
27     const NWildcard::CCensorNode &wildcardCensor,\r
28     CExtractOptions &options,\r
29     bool showDialog,\r
30     bool &messageWasDisplayed,\r
31     CExtractCallbackImp *extractCallback,\r
32     HWND hwndParent = NULL);\r
33 \r
34 #endif\r