forked from bailey27/cppcryptfs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMountMangerDialog.cpp
More file actions
57 lines (38 loc) · 1.21 KB
/
Copy pathMountMangerDialog.cpp
File metadata and controls
57 lines (38 loc) · 1.21 KB
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
50
51
52
53
54
55
56
57
// MountMangerDialog.cpp : implementation file
//
#include "stdafx.h"
#include "cppcryptfs.h"
#include "MountMangerDialog.h"
#include "afxdialogex.h"
#include "cryptdefaults.h"
#include "ui/CryptSettings.h"
// CMountMangerDialog dialog
IMPLEMENT_DYNAMIC(CMountMangerDialog, CDialogEx)
CMountMangerDialog::CMountMangerDialog(CWnd* pParent /*=NULL*/)
: CDialogEx(IDD_MOUNTMANAGER, pParent)
{
m_bOkPressed = FALSE;
}
CMountMangerDialog::~CMountMangerDialog()
{
}
void CMountMangerDialog::DoDataExchange(CDataExchange* pDX)
{
CDialogEx::DoDataExchange(pDX);
}
BEGIN_MESSAGE_MAP(CMountMangerDialog, CDialogEx)
ON_BN_CLICKED(IDOK, &CMountMangerDialog::OnBnClickedOk)
ON_BN_CLICKED(IDC_DONTSHOWAGAIN, &CMountMangerDialog::OnBnClickedDontshowagain)
END_MESSAGE_MAP()
// CMountMangerDialog message handlers
void CMountMangerDialog::OnBnClickedOk()
{
// TODO: Add your control notification handler code here
CDialogEx::OnOK();
m_bOkPressed = TRUE;
}
void CMountMangerDialog::OnBnClickedDontshowagain()
{
// TODO: Add your control notification handler code here
CryptSettings::getInstance().SaveSetting(MOUNTMANAGERWARN, !IsDlgButtonChecked(IDC_DONTSHOWAGAIN));
}