From 515895342820a9d0a35391ec4d316c3782a75768 Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 19 Jul 2015 08:46:27 +0200 Subject: User Interface enhancements for PIM --- src/Main/Forms/VolumePasswordWizardPage.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/Main/Forms/VolumePasswordWizardPage.h') diff --git a/src/Main/Forms/VolumePasswordWizardPage.h b/src/Main/Forms/VolumePasswordWizardPage.h index aad86c86..652aed88 100644 --- a/src/Main/Forms/VolumePasswordWizardPage.h +++ b/src/Main/Forms/VolumePasswordWizardPage.h @@ -22,7 +22,10 @@ namespace VeraCrypt shared_ptr GetKeyfiles () const { return PasswordPanel->GetKeyfiles(); } shared_ptr GetPassword () const { return PasswordPanel->GetPassword(); } - int GetVolumePim () const { return PasswordPanel->GetVolumePim(); } + void EnableUsePim () { PasswordPanel->EnableUsePim (); } + bool IsPimSelected () const { return PasswordPanel->IsUsePimChecked ();} + void SetPimSelected (bool selected) const { PasswordPanel->SetUsePimChecked (selected);} + shared_ptr GetPkcs5Kdf () const { return PasswordPanel->GetPkcs5Kdf(); } bool IsValid (); void SetMaxStaticTextWidth (int width) { InfoStaticText->Wrap (width); } -- cgit v1.2.3