1 // HashCon.h 2 3 #ifndef __HASH_CON_H 4 #define __HASH_CON_H 5 6 #include "../Common/HashCalc.h" 7 8 #include "UpdateCallbackConsole.h" 9 10 class CHashCallbackConsole: public IHashCallbackUI, public CCallbackConsoleBase 11 { 12 UString m_FileName; 13 14 void PrintSeparatorLine(const CObjectVector<CHasherState> &hashers); 15 void PrintResultLine(UInt64 fileSize, 16 const CObjectVector<CHasherState> &hashers, unsigned digestIndex, bool showHash); 17 void PrintProperty(const char *name, UInt64 value); 18 public: ~CHashCallbackConsole()19 ~CHashCallbackConsole() { } 20 21 INTERFACE_IHashCallbackUI(;) 22 }; 23 24 void PrintHashStat(CStdOutStream &stdStream, const CHashBundle &hb); 25 26 #endif 27