diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-19 08:46:27 +0200 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-07-19 11:29:45 +0200 |
commit | 515895342820a9d0a35391ec4d316c3782a75768 (patch) | |
tree | b3c64668eba1bd654914acd42e986d6f90d80462 /src/Main/Forms/MainFrame.cpp | |
parent | 63818bcaa44b9ce0b59ac2c56afdee1f5e1976ba (diff) | |
download | VeraCrypt-515895342820a9d0a35391ec4d316c3782a75768.tar.gz VeraCrypt-515895342820a9d0a35391ec4d316c3782a75768.zip |
User Interface enhancements for PIM
Diffstat (limited to 'src/Main/Forms/MainFrame.cpp')
-rw-r--r-- | src/Main/Forms/MainFrame.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Main/Forms/MainFrame.cpp b/src/Main/Forms/MainFrame.cpp index b4f2983f..0799f325 100644 --- a/src/Main/Forms/MainFrame.cpp +++ b/src/Main/Forms/MainFrame.cpp @@ -638,6 +638,10 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } if (SlotListCtrl->GetSelectedItemCount() == 1) mountOptions.SlotNumber = SelectedSlotNumber; @@ -663,6 +667,11 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } + Gui->MountAllFavoriteVolumes (mountOptions); } catch (exception &e) @@ -693,6 +702,10 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } try { @@ -945,6 +958,10 @@ namespace VeraCrypt { mountOptions.Kdf = Pkcs5Kdf::GetAlgorithm (*CmdLine->ArgHash, mountOptions.TrueCryptMode); } + if (CmdLine->ArgPim > 0) + { + mountOptions.Pim = CmdLine->ArgPim; + } favorite.ToMountOptions (mountOptions); shared_ptr <VolumeInfo> volume = Gui->MountVolume (mountOptions); |