xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/GUI/UpdateGUI.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // GUI/UpdateGUI.h
2 
3 #ifndef ZIP7_INC_UPDATE_GUI_H
4 #define ZIP7_INC_UPDATE_GUI_H
5 
6 #include "../Common/Update.h"
7 
8 #include "UpdateCallbackGUI.h"
9 
10 /*
11   callback->FailedFiles contains names of files for that there were problems.
12   RESULT can be S_OK, even if there are such warnings!!!
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 UpdateGUI(
23     CCodecs *codecs,
24     const CObjectVector<COpenType> &formatIndices,
25     const UString &cmdArcPath2,
26     NWildcard::CCensor &censor,
27     CUpdateOptions &options,
28     bool showDialog,
29     bool &messageWasDisplayed,
30     CUpdateCallbackGUI *callback,
31     HWND hwndParent = NULL);
32 
33 #endif
34