| 36 | // CCreatePropertyPage dialog |
| 37 | |
| 38 | class CCreatePropertyPage : public CCryptPropertyPage |
| 39 | { |
| 40 | DECLARE_DYNAMIC(CCreatePropertyPage) |
| 41 | |
| 42 | public: |
| 43 | |
| 44 | CString m_lastDirs[10]; |
| 45 | CString m_lastConfigs[10]; |
| 46 | const int m_numLastDirs = 10; |
| 47 | const int m_numLastConfigs = 10; |
| 48 | |
| 49 | virtual void DefaultAction(); |
| 50 | |
| 51 | // disallow copying |
| 52 | CCreatePropertyPage(CCreatePropertyPage const&) = delete; |
| 53 | void operator=(CCreatePropertyPage const&) = delete; |
| 54 | |
| 55 | CCreatePropertyPage(); |
| 56 | virtual ~CCreatePropertyPage(); |
| 57 | |
| 58 | void CreateCryptfs(); |
| 59 | |
| 60 | // Dialog Data |
| 61 | #ifdef AFX_DESIGN_TIME |
| 62 | enum { IDD = IDD_CREATE }; |
| 63 | #endif |
| 64 | |
| 65 | protected: |
| 66 | virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support |
| 67 | |
| 68 | DECLARE_MESSAGE_MAP() |
| 69 | public: |
| 70 | afx_msg void OnClickedSelect(); |
| 71 | afx_msg void OnClickedCreate(); |
| 72 | virtual BOOL OnInitDialog(); |
| 73 | afx_msg void OnLbnSelchangeFilenameEncryption(); |
| 74 | afx_msg void OnCbnSelchangePath(); |
| 75 | CSecureEdit m_password; |
| 76 | CSecureEdit m_password2; |
| 77 | afx_msg void OnClickedReverse(); |
| 78 | afx_msg void OnClickedSelectConfigPath(); |
| 79 | afx_msg void OnSelchangeLongnamemax(); |
| 80 | afx_msg void OnClickedLongFileNames(); |
| 81 | afx_msg void OnClickedDeterministicNames(); |
| 82 | afx_msg void OnSelchangeScryptn(); |
| 83 | }; |
nothing calls this directly
no outgoing calls
no test coverage detected