|
|
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_VolumeFormatOptionsWizardPage
10: #define TC_HEADER_Main_Forms_VolumeFormatOptionsWizardPage
11:
12: #include "Forms.h"
13: #include "Core/VolumeCreator.h"
14:
15: namespace TrueCrypt
16: {
17: class VolumeFormatOptionsWizardPage : public VolumeFormatOptionsWizardPageBase
18: {
19: public:
20: VolumeFormatOptionsWizardPage (wxPanel* parent, const VolumePath &volumePath);
21:
22: VolumeCreationOptions::FilesystemType::Enum GetFilesystemType () const;
23: bool IsValid () { return true; }
24: bool IsQuickFormatEnabled () const { return QuickFormatCheckBox->IsChecked(); }
25: void SetMaxStaticTextWidth (int width) { InfoStaticText->Wrap (width); }
26: void SetFilesystemType (VolumeCreationOptions::FilesystemType::Enum type);
27: void SetPageText (const wxString &text) { InfoStaticText->SetLabel (text); }
28: void SetQuickFormat (bool enabled) { QuickFormatCheckBox->SetValue (enabled); }
29:
30: protected:
31: void OnFilesystemTypeSelected (wxCommandEvent& event);
32: void OnQuickFormatCheckBoxClick (wxCommandEvent& event);
33: };
34: }
35:
36: #endif // TC_HEADER_Main_Forms_VolumeFormatOptionsWizardPage
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.