mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2026-05-22 12:31:31 +00:00
* Linux: allow mounting volumes with ntfs3 * Linux: add ntfs3 preference for NTFS mounts * Linux: wrap ntfs3 preference help text * Add Linux ntfs3 mount preference * Remove Russian translation changes from ntfs3 PR * XML Translations: Add English fallback entries for ntfs3 preference --------- Co-authored-by: Mounir IDRASSI <mounir.idrassi@amcrypto.jp>
71 lines
2.3 KiB
C++
71 lines
2.3 KiB
C++
/*
|
|
Derived from source code of TrueCrypt 7.1a, which is
|
|
Copyright (c) 2008-2012 TrueCrypt Developers Association and which is governed
|
|
by the TrueCrypt License 3.0.
|
|
|
|
Modifications and additions to the original source code (contained in this file)
|
|
and all other portions of this file are Copyright (c) 2013-2025 AM Crypto
|
|
and are governed by the Apache License 2.0 the full text of which is
|
|
contained in the file License.txt included in VeraCrypt binary and source
|
|
code distribution packages.
|
|
*/
|
|
|
|
#ifndef TC_HEADER_Main_Forms_PreferencesDialog
|
|
#define TC_HEADER_Main_Forms_PreferencesDialog
|
|
|
|
#include "Forms.h"
|
|
#include "Main/Main.h"
|
|
#include "KeyfilesPanel.h"
|
|
|
|
namespace VeraCrypt
|
|
{
|
|
class PreferencesDialog : public PreferencesDialogBase
|
|
{
|
|
public:
|
|
PreferencesDialog (wxWindow* parent);
|
|
~PreferencesDialog ();
|
|
|
|
void SelectPage (wxPanel *page);
|
|
|
|
protected:
|
|
void OnAssignHotkeyButtonClick (wxCommandEvent& event);
|
|
void OnBackgroundTaskEnabledCheckBoxClick (wxCommandEvent& event);
|
|
void OnCancelButtonClick (wxCommandEvent& event) { EndModal (wxID_CANCEL); }
|
|
void OnClose (wxCloseEvent& event);
|
|
void OnDismountOnPowerSavingCheckBoxClick (wxCommandEvent& event);
|
|
void OnDismountOnScreenSaverCheckBoxClick (wxCommandEvent& event);
|
|
void OnForceAutoDismountCheckBoxClick (wxCommandEvent& event);
|
|
void OnHotkeyListItemDeselected (wxListEvent& event);
|
|
void OnHotkeyListItemSelected (wxListEvent& event);
|
|
void OnNoHardwareCryptoCheckBoxClick (wxCommandEvent& event);
|
|
void OnNoKernelCryptoCheckBoxClick (wxCommandEvent& event);
|
|
void OnOKButtonClick (wxCommandEvent& event);
|
|
void OnPageChanged (wxBookCtrlEvent& event);
|
|
void OnPreserveTimestampsCheckBoxClick (wxCommandEvent& event);
|
|
void OnRemoveHotkeyButtonClick (wxCommandEvent& event);
|
|
void OnSelectPkcs11ModuleButtonClick (wxCommandEvent& event);
|
|
void OnSysDefaultLangButtonClick (wxCommandEvent& event);
|
|
void OnTimer ();
|
|
void UpdateHotkeyButtons();
|
|
|
|
enum
|
|
{
|
|
ColumnHotkeyDescription = 0,
|
|
ColumnHotkey
|
|
};
|
|
|
|
KeyfilesPanel *DefaultKeyfilesPanel;
|
|
#ifdef TC_LINUX
|
|
wxCheckBox *MountNtfsWithNtfs3CheckBox;
|
|
#endif
|
|
int LastVirtualKeyPressed;
|
|
unique_ptr <wxTimer> mTimer;
|
|
UserPreferences Preferences;
|
|
bool RestoreValidatorBell;
|
|
HotkeyList UnregisteredHotkeys;
|
|
map<wxString, wstring> langEntries;
|
|
};
|
|
}
|
|
|
|
#endif // TC_HEADER_Main_Forms_PreferencesDialog
|