xref: /aosp_15_r20/external/lzma/CPP/7zip/UI/GUI/HashGUI.h (revision f6dc9357d832569d4d1f5d24eacdb3935a1ae8e6)
1 // HashGUI.h
2 
3 #ifndef ZIP7_INC_HASH_GUI_H
4 #define ZIP7_INC_HASH_GUI_H
5 
6 #include "../Common/HashCalc.h"
7 #include "../Common/Property.h"
8 
9 HRESULT HashCalcGUI(
10     DECL_EXTERNAL_CODECS_LOC_VARS
11     const NWildcard::CCensor &censor,
12     const CHashOptions &options,
13     bool &messageWasDisplayed);
14 
15 typedef CObjectVector<CProperty> CPropNameValPairs;
16 
17 void AddValuePair(CPropNameValPairs &pairs, UINT resourceID, UInt64 value);
18 void AddSizeValue(UString &s, UInt64 value);
19 void AddSizeValuePair(CPropNameValPairs &pairs, UINT resourceID, UInt64 value);
20 
21 void AddHashBundleRes(CPropNameValPairs &s, const CHashBundle &hb);
22 void AddHashBundleRes(UString &s, const CHashBundle &hb);
23 
24 void ShowHashResults(const CPropNameValPairs &propPairs, HWND hwnd);
25 void ShowHashResults(const CHashBundle &hb, HWND hwnd);
26 
27 #endif
28