tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

ExtractGUI.h (1003B)


      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    CCodecs *codecs,
     24    const CObjectVector<COpenType> &formatIndices,
     25    const CIntVector &excludedFormatIndices,
     26    UStringVector &archivePaths,
     27    UStringVector &archivePathsFull,
     28    const NWildcard::CCensorNode &wildcardCensor,
     29    CExtractOptions &options,
     30    #ifndef _SFX
     31    CHashBundle *hb,
     32    #endif
     33    bool showDialog,
     34    bool &messageWasDisplayed,
     35    CExtractCallbackImp *extractCallback,
     36    HWND hwndParent = NULL);
     37 
     38 #endif