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