#include <Dlg_CheckFileIntegrity_Progress.h>

Public Types | |
| enum | { IDD = IDD_CHECKFILEINTEGRITY_PROGRESS } |
Public Member Functions | |
| bool | is_CheckingSucceeded () |
| CDlg_CheckFileIntegrity_Progress (CWnd *pParent=NULL) | |
Public Attributes | |
| CString | m_strHashResult |
| CString | m_strValidHashResult |
| CString | m_strFile |
| vmsHashAlgorithm | m_enHashAlgorithm |
| vmsHash_SHA2Strength | m_enSHA2Strength |
| CProgressCtrl | m_wndProgress |
Protected Member Functions | |
| virtual void | DoDataExchange (CDataExchange *pDX) |
| CString | get_ValidHashResult () |
| virtual bool | OnProgressChanged (double fPercentage) |
| void | ApplyLanguage () |
| virtual BOOL | OnInitDialog () |
| virtual void | OnCancel () |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadDoJob (LPVOID lp) |
Protected Attributes | |
| bool | m_bSucceeded |
| bool | m_bNeedStop |
Definition at line 15 of file Dlg_CheckFileIntegrity_Progress.h.
| anonymous enum |
| CDlg_CheckFileIntegrity_Progress::CDlg_CheckFileIntegrity_Progress | ( | CWnd * | pParent = NULL |
) |
Definition at line 16 of file Dlg_CheckFileIntegrity_Progress.cpp.
References HSHA2S_256, and m_enSHA2Strength.
| bool CDlg_CheckFileIntegrity_Progress::is_CheckingSucceeded | ( | ) |
Definition at line 118 of file Dlg_CheckFileIntegrity_Progress.cpp.
References m_bSucceeded.
Referenced by CDownloads_Tasks::OnDldcheckintegrity().
| void CDlg_CheckFileIntegrity_Progress::DoDataExchange | ( | CDataExchange * | pDX | ) | [protected, virtual] |
Definition at line 25 of file Dlg_CheckFileIntegrity_Progress.cpp.
References IDC_PROGRESS, and m_wndProgress.
| CString CDlg_CheckFileIntegrity_Progress::get_ValidHashResult | ( | ) | [protected] |
Definition at line 99 of file Dlg_CheckFileIntegrity_Progress.cpp.
References m_strValidHashResult.
Referenced by _threadDoJob().
| DWORD WINAPI CDlg_CheckFileIntegrity_Progress::_threadDoJob | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 75 of file Dlg_CheckFileIntegrity_Progress.cpp.
References get_ValidHashResult(), vmsHash::Hash(), m_bNeedStop, m_bSucceeded, m_enHashAlgorithm, m_enSHA2Strength, m_strFile, m_strHashResult, vmsHash::set_EventsHandler(), and vmsHash::set_SHA2Strength().
Referenced by OnInitDialog().
| bool CDlg_CheckFileIntegrity_Progress::OnProgressChanged | ( | double | fPercentage | ) | [protected, virtual] |
Reimplemented from vmsHashEvents.
Definition at line 69 of file Dlg_CheckFileIntegrity_Progress.cpp.
References m_bNeedStop, and m_wndProgress.
| void CDlg_CheckFileIntegrity_Progress::ApplyLanguage | ( | ) | [protected] |
Definition at line 62 of file Dlg_CheckFileIntegrity_Progress.cpp.
References IDC_MESSAGE, L_CALCULATINGCHECKSUM, L_CANCEL, L_PLEASEWAIT, and LS.
Referenced by OnInitDialog().
| BOOL CDlg_CheckFileIntegrity_Progress::OnInitDialog | ( | ) | [protected, virtual] |
Definition at line 38 of file Dlg_CheckFileIntegrity_Progress.cpp.
References _threadDoJob(), ApplyLanguage(), NULL, and TRUE.
| void CDlg_CheckFileIntegrity_Progress::OnCancel | ( | ) | [protected, virtual] |
Definition at line 21 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by _threadDoJob(), and CDownloads_Tasks::OnDldcheckintegrity().
Definition at line 25 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by get_ValidHashResult(), and CDownloads_Tasks::OnDldcheckintegrity().
Definition at line 27 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by _threadDoJob(), and CDownloads_Tasks::OnDldcheckintegrity().
Definition at line 29 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by _threadDoJob(), and CDownloads_Tasks::OnDldcheckintegrity().
Definition at line 30 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by _threadDoJob(), CDlg_CheckFileIntegrity_Progress(), and CDownloads_Tasks::OnDldcheckintegrity().
| CProgressCtrl CDlg_CheckFileIntegrity_Progress::m_wndProgress |
Definition at line 35 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by DoDataExchange(), and OnProgressChanged().
bool CDlg_CheckFileIntegrity_Progress::m_bSucceeded [protected] |
Definition at line 45 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by _threadDoJob(), and is_CheckingSucceeded().
bool CDlg_CheckFileIntegrity_Progress::m_bNeedStop [protected] |
Definition at line 53 of file Dlg_CheckFileIntegrity_Progress.h.
Referenced by _threadDoJob(), OnCancel(), and OnProgressChanged().
1.5.6