diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-02-09 00:49:04 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2016-02-09 00:52:28 +0100 |
commit | 39fb2edc25f2703744932f25d956bf7af604fc5f (patch) | |
tree | a25f2ab7bd6ee5d55b5e89093b86f6b7f802fa7e /src/Main/Forms/VolumeCreationProgressWizardPage.h | |
parent | 0863924483c09d05948f63d1b1740f107e3e80fe (diff) | |
download | VeraCrypt-39fb2edc25f2703744932f25d956bf7af604fc5f.tar.gz VeraCrypt-39fb2edc25f2703744932f25d956bf7af604fc5f.zip |
Linux/MacOSX: add progress bar for mouse collected entropy in GUI of volume creation wizard. Add mutex protection in event handler for shared counter variable
Diffstat (limited to 'src/Main/Forms/VolumeCreationProgressWizardPage.h')
-rw-r--r-- | src/Main/Forms/VolumeCreationProgressWizardPage.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Main/Forms/VolumeCreationProgressWizardPage.h b/src/Main/Forms/VolumeCreationProgressWizardPage.h index 63bd7fa8..417766e4 100644 --- a/src/Main/Forms/VolumeCreationProgressWizardPage.h +++ b/src/Main/Forms/VolumeCreationProgressWizardPage.h @@ -33,8 +33,9 @@ namespace VeraCrypt void SetPageText (const wxString &text) { InfoStaticText->SetLabel (text); } void SetProgressRange (uint64 progressBarRange); void SetProgressValue (uint64 value); void SetProgressState (bool volumeCreatorRunning); + void IncrementEntropyProgress (); Event AbortEvent; protected: @@ -50,8 +51,10 @@ namespace VeraCrypt auto_ptr <wxTimer> RandomPoolTimer; int RealProgressBarRange; wxLongLong StartTime; bool VolumeCreatorRunning; + int MouseEventsCounter; + Mutex AccessMutex; }; } #endif // TC_HEADER_Main_Forms_VolumeCreationProgressWizardPage |