|
|
1.1 root 1: /*
2: Copyright (c) 2008 TrueCrypt Foundation. All rights reserved.
3:
4: Governed by the TrueCrypt License 2.4 the full text of which is contained
5: in the file License.txt included in TrueCrypt binary and source code
6: distribution packages.
7: */
8:
9: #ifndef TC_HEADER_Main_Forms_DeviceSelectionDialog
10: #define TC_HEADER_Main_Forms_DeviceSelectionDialog
11:
12: #include "Forms.h"
13: #include "Main/Main.h"
14:
15: namespace TrueCrypt
16: {
17: class DeviceSelectionDialog : public DeviceSelectionDialogBase
18: {
19: public:
20: DeviceSelectionDialog (wxWindow* parent);
21:
22: HostDeviceList DeviceList;
23: HostDevice SelectedDevice;
24:
25: protected:
26: enum
27: {
28: ColumnDevice = 0,
29: #ifdef TC_WINDOWS
30: ColumnDrive,
31: #endif
32: ColumnSize,
33: #ifdef TC_WINDOWS
34: ColumnName
35: #else
36: ColumnMountPoint
37: #endif
38: };
39:
40: void OnListItemActivated (wxListEvent& event);
41: void OnListItemDeselected (wxListEvent& event);
42: void OnListItemSelected (wxListEvent& event);
43: };
44: }
45:
46: #endif // TC_HEADER_Main_Forms_DeviceSelectionDialog
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.