VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Main/CommandLineInterface.cpp
AgeCommit message (Expand)AuthorFilesLines
2016-01-30MacOSX: Support creation exFAT volumes on OSX using the built-in command newf...Mounir IDRASSI1-0/+2
2016-01-27Windows/Linux: Implement exFAT support.Mounir IDRASSI1-0/+2
2016-01-26Linux/MacOSX: fix issue creating volumes using command line with a filesystem...Mounir IDRASSI1-0/+21
2016-01-24Linux/MacOSX: Support K/M/G/T suffixes for --size switch to indicate unit to ...Mounir IDRASSI1-1/+28
2016-01-20Copyright: update dates to include 2016.Mounir IDRASSI1-1/+1
2015-11-30Linux/MacOSX: Implement Unicode passwords suppport. Make validation of parame...Mounir IDRASSI1-3/+39
2015-08-30Add stdin-supplied password supportLouisTakePILLz1-1/+14
2015-08-06Update license information to reflect the use of a dual license Apache 2.0 an...Mounir IDRASSI1-5/+9
2015-07-19Linux: Add "new-hash" switch for changing PRF and remove "current-hash" switc...Mounir IDRASSI1-5/+5
2015-07-19User Interface enhancements for PIMMounir IDRASSI1-4/+10
2015-06-24Linux/MacOSX: restore normal file mode to some source filesMounir IDRASSI1-0/+0
2015-06-24Linux: solve bug when "-tc" command line switch is not followed by another sw...Mounir IDRASSI1-1/+1
2015-06-24Linux/MacOSX: first dynamic mode implementationMounir IDRASSI1-0/+50
2015-04-26Linux: in command line, support hash algorithm names without '-' as on Window...Mounir IDRASSI1-3/+9
2015-03-08Linux/MacOSX: Load preferences if only volume path is given in command line a...Mounir IDRASSI1-1/+20
2014-12-30Linux/MacOSX: Implement TrueCrypt conversion and loading support. Correct man...Mounir IDRASSI1-1/+5
2014-12-19Linux/MacOSX: Enhance performance by implementing the possibility to choose t...Mounir IDRASSI1-0/+32
2014-11-08Change namespace from TrueCrypt to VeraCrypt. Rename method from Resources Re...Mounir IDRASSI1-1/+1
2014-11-08wxWidgets 3.0 compatibility modificationsMounir IDRASSI1-6/+6
2014-11-08Replace TrueCrypt references in added sources and resources by VeraCrypt ones.Mounir IDRASSI1-1/+1
2014-11-08Add TrueCrypt 7.1a MacOSX/Linux specific source files.Mounir IDRASSI1-0/+583
ss="cm"> 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_UserPreferences #define TC_HEADER_Main_UserPreferences #include "System.h" #include "Main.h" #include "Hotkey.h" namespace VeraCrypt { struct UserPreferences { UserPreferences () : BackgroundTaskEnabled (true), BackgroundTaskMenuDismountItemsEnabled (true), BackgroundTaskMenuMountItemsEnabled (true), BackgroundTaskMenuOpenItemsEnabled (true), BeepAfterHotkeyMountDismount (false), CloseBackgroundTaskOnNoVolumes (true), CloseExplorerWindowsOnDismount (true), CloseSecurityTokenSessionsAfterMount (false), DisableKernelEncryptionModeWarning (false), DismountOnInactivity (false), DismountOnLogOff (true), DismountOnPowerSaving (false), DismountOnScreenSaver (false), DisplayMessageAfterHotkeyDismount (false), ForceAutoDismount (true), LastSelectedSlotNumber (0), MaxVolumeIdleTime (60), MountDevicesOnLogon (false), MountFavoritesOnLogon (false), NonInteractive (false), UseStandardInput (false), OpenExplorerWindowAfterMount (false), SaveHistory (false), StartOnLogon (false), UseKeyfiles (false), Verbose (false), WipeCacheOnAutoDismount (true), WipeCacheOnClose (false) { } virtual ~UserPreferences () { } void Load(); void Save() const; HotkeyList Hotkeys; KeyfileList DefaultKeyfiles; MountOptions DefaultMountOptions; bool BackgroundTaskEnabled; bool BackgroundTaskMenuDismountItemsEnabled; bool BackgroundTaskMenuMountItemsEnabled; bool BackgroundTaskMenuOpenItemsEnabled; bool BeepAfterHotkeyMountDismount; bool CloseBackgroundTaskOnNoVolumes; bool CloseExplorerWindowsOnDismount; bool CloseSecurityTokenSessionsAfterMount; bool DisableKernelEncryptionModeWarning; bool DismountOnInactivity; bool DismountOnLogOff; bool DismountOnPowerSaving; bool DismountOnScreenSaver; bool DisplayMessageAfterHotkeyDismount; bool ForceAutoDismount; uint64 LastSelectedSlotNumber; int32 MaxVolumeIdleTime; bool MountDevicesOnLogon; bool MountFavoritesOnLogon; bool NonInteractive; bool UseStandardInput; bool OpenExplorerWindowAfterMount; bool SaveHistory; FilePath SecurityTokenModule; bool StartOnLogon; bool UseKeyfiles; bool Verbose; bool WipeCacheOnAutoDismount; bool WipeCacheOnClose; protected: wxString GetDefaultKeyfilesFileName () const { return L"Default Keyfiles.xml"; } #ifdef TC_PROTOTYPE wxString GetPreferencesFileName () const { return L"Configuration_Debug.xml"; } #else wxString GetPreferencesFileName () const { return L"Configuration.xml"; } #endif void SetValue (const wxString &cfgText, bool &cfgVar); void SetValue (const wxString &cfgText, int &cfgVar); void SetValue (const wxString &cfgText, uint64 &cfgVar); void SetValue (const wxString &cfgText, wstring &cfgVar); void SetValue (const wxString &cfgText, wxString &cfgVar); void SetValue (const wxString &cfgText, FilesystemPath &cfgVar); }; } #endif // TC_HEADER_Main_UserPreferences