|
|
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_EncryptionOptionsWizardPage
10: #define TC_HEADER_Main_Forms_EncryptionOptionsWizardPage
11:
12: #include "Forms.h"
13:
14: namespace TrueCrypt
15: {
16: class EncryptionOptionsWizardPage : public EncryptionOptionsWizardPageBase
17: {
18: public:
19: EncryptionOptionsWizardPage (wxPanel* parent);
20:
21: shared_ptr <EncryptionAlgorithm> GetEncryptionAlgorithm () const;
22: shared_ptr <Hash> GetHash () const;
23: bool IsValid () { return true; }
24: void SetPageText (const wxString &text) { }
25: void SetEncryptionAlgorithm (shared_ptr <EncryptionAlgorithm> algorithm);
26: void SetHash (shared_ptr <Hash> hash);
27:
28: protected:
29: void OnBenchmarkButtonClick (wxCommandEvent& event);
30: void OnEncryptionAlgorithmHyperlinkClick (wxHyperlinkEvent& event);
31: void OnEncryptionAlgorithmSelected ();
32: void OnEncryptionAlgorithmSelected (wxCommandEvent& event) { OnEncryptionAlgorithmSelected(); }
33: void OnHashHyperlinkClick (wxHyperlinkEvent& event);
34: void OnTestButtonClick (wxCommandEvent& event);
35:
36: EncryptionAlgorithmList EncryptionAlgorithms;
37: HashList Hashes;
38: };
39: }
40:
41: #endif // TC_HEADER_Main_Forms_EncryptionOptionsWizardPage
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.