From 39fb2edc25f2703744932f25d956bf7af604fc5f Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Tue, 9 Feb 2016 00:49:04 +0100 Subject: 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 --- src/Main/Forms/VolumeCreationProgressWizardPage.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/Main/Forms/VolumeCreationProgressWizardPage.h') 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 @@ -34,6 +34,7 @@ namespace VeraCrypt void SetProgressRange (uint64 progressBarRange); void SetProgressValue (uint64 value); void SetProgressState (bool volumeCreatorRunning); + void IncrementEntropyProgress (); Event AbortEvent; @@ -51,6 +52,8 @@ namespace VeraCrypt int RealProgressBarRange; wxLongLong StartTime; bool VolumeCreatorRunning; + int MouseEventsCounter; + Mutex AccessMutex; }; } -- cgit v1.2.3