diff options
Diffstat (limited to '3rdparty/lzma/CPP/7zip/UI/GUI/HashGUI.h')
-rw-r--r-- | 3rdparty/lzma/CPP/7zip/UI/GUI/HashGUI.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/3rdparty/lzma/CPP/7zip/UI/GUI/HashGUI.h b/3rdparty/lzma/CPP/7zip/UI/GUI/HashGUI.h index 40340365abe..1ec9c47564e 100644 --- a/3rdparty/lzma/CPP/7zip/UI/GUI/HashGUI.h +++ b/3rdparty/lzma/CPP/7zip/UI/GUI/HashGUI.h @@ -1,9 +1,10 @@ // HashGUI.h -#ifndef __HASH_GUI_H -#define __HASH_GUI_H +#ifndef ZIP7_INC_HASH_GUI_H +#define ZIP7_INC_HASH_GUI_H #include "../Common/HashCalc.h" +#include "../Common/Property.h" HRESULT HashCalcGUI( DECL_EXTERNAL_CODECS_LOC_VARS @@ -11,6 +12,16 @@ HRESULT HashCalcGUI( const CHashOptions &options, bool &messageWasDisplayed); -void AddHashBundleRes(UString &s, const CHashBundle &hb, const UString &firstFileName); +typedef CObjectVector<CProperty> CPropNameValPairs; + +void AddValuePair(CPropNameValPairs &pairs, UINT resourceID, UInt64 value); +void AddSizeValue(UString &s, UInt64 value); +void AddSizeValuePair(CPropNameValPairs &pairs, UINT resourceID, UInt64 value); + +void AddHashBundleRes(CPropNameValPairs &s, const CHashBundle &hb); +void AddHashBundleRes(UString &s, const CHashBundle &hb); + +void ShowHashResults(const CPropNameValPairs &propPairs, HWND hwnd); +void ShowHashResults(const CHashBundle &hb, HWND hwnd); #endif |