;;; ;;; VeraCrypt ;;; ;;; ;;; Copyright (c) 2023, IDRIX ;;; [Version] signature = "$Windows NT$" Class = "Encryption" ;This is determined by the work this filter driver does ClassGuid = {a0a701c0-a511-42ff-aa6c-06dc0395576f} ;This value is determined by the Class Provider = %ProviderString% DriverVer = 08/13/2022,1.26.5.0 CatalogFile = veracrypt.cat [DestinationDirs] DefaultDestDir = 12 veracrypt.DriverFiles = 12 ;%windir%\system32\drivers ;; ;; Default install sections ;; [DefaultInstall.NTx86] OptionDesc = %ServiceDescription% CopyFiles = veracrypt.DriverFiles AddReg = veracrypt.AddReg [DefaultInstall.NTamd64] OptionDesc = %ServiceDescription% CopyFiles = veracrypt.DriverFiles AddReg = veracrypt.AddReg [DefaultInstall.NTarm64] OptionDesc = %ServiceDescription% CopyFiles = veracrypt.DriverFiles AddReg = veracrypt.AddReg [DefaultInstall.NTx86.Services] AddService = veracrypt,,veracrypt.Service [DefaultInstall.NTamd64.Services] AddService = veracrypt,,veracrypt.Service [DefaultInstall.NTarm64.Services] AddService = veracrypt,,veracrypt.Service ; ; Services Section ; [veracrypt.Service] DisplayName = %ServiceDescription% Description = %ServiceDescription% ServiceBinary = %12%\veracrypt.sys ;%windir%\system32\drivers\ ServiceType = 2 ;SERVICE_FILE_SYSTEM_DRIVER StartType = 0 ;SERVICE_BOOT_START ErrorControl = 1 ;SERVICE_ERROR_NORMAL LoadOrderGroup = "Filter" ; ; Copy Files ; [veracrypt.DriverFiles] veracrypt.sys [SourceDisksFiles] veracrypt.sys = 1,, [SourceDisksNames] 1 = %DiskId1%,,, ; ; Registry Entries ; [veracrypt.AddReg] HKLM, System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318}, UpperFilters, 0x00010008, veracrypt HKLM, System\CurrentControlSet\Control\Class\{4d36e967-e325-11ce-bfc1-08002be10318}, UpperFilters, 0x00010008, PartMgr ;; ;; String Section ;; [Strings] ProviderString = "IDRIX" ServiceDescription = "veracrypt" DiskId1 = "VeraCrypt Device Installation Disk" riteVolumesDialog.h'>
path: root/src/Main/Forms/FavoriteVolumesDialog.h
blob: d431586311ec3a47593d8334bdad8380990425e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 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-2015 IDRIX
 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_FavoriteVolumesDialog
#define TC_HEADER_Main_Forms_FavoriteVolumesDialog

#include "Forms.h"
#include "Main/Main.h"
#include "Main/FavoriteVolume.h"

namespace VeraCrypt
{
	class FavoriteVolumesDialog : public FavoriteVolumesDialogBase
	{
	public:
		FavoriteVolumesDialog (wxWindow* parent, const FavoriteVolumeList &favorites, size_t newItemCount = 0);

		FavoriteVolumeList GetFavorites () const { return Favorites; }

	protected:
		void OnListItemDeselected (wxListEvent& event) { UpdateButtons (); }
		void OnListItemSelected (wxListEvent& event) { UpdateButtons (); }
		void OnMoveUpButtonClick (wxCommandEvent& event);
		void OnMoveDownButtonClick (wxCommandEvent& event);
		void OnOKButtonClick (wxCommandEvent& event);
		void OnRemoveAllButtonClick (wxCommandEvent& event);
		void OnRemoveButtonClick (wxCommandEvent& event);
		void UpdateButtons ();
		
		enum
		{
			ColumnVolumePath = 0,
			ColumnMountPoint
		};

		FavoriteVolumeList Favorites;
	};
}

#endif // TC_HEADER_Main_Forms_FavoriteVolumesDialog