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