forked from Skewjo/SysLat_Software
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPreferencesDlg.h
More file actions
49 lines (38 loc) · 1.17 KB
/
PreferencesDlg.h
File metadata and controls
49 lines (38 loc) · 1.17 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
#pragma once
#include "StdAfx.h"
#include "resource.h"
#include "SysLatPreferences.h"
// PreferencesDlg dialog
class PreferencesDlg : public CDialogEx
{
DECLARE_DYNAMIC(PreferencesDlg)
SysLatPreferences* m_pPreferences;
public:
PreferencesDlg(SysLatPreferences* p_preferences, CWnd* pParent = nullptr); // standard constructor
virtual BOOL OnInitDialog();
virtual ~PreferencesDlg();
// Dialog Data
#ifdef AFX_DESIGN_TIME
enum { IDD = IDD_PREFERENCES_PROPPAGE };
#endif
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
bool m_bRunOnStartup = false;
bool m_bAutoDownloadUpdates = false;
bool m_bAutoExportLogs = false;
bool m_bAutoUploadLogs = false;
bool m_bDarkMode = false;
string m_logDirectory;
int m_MaxLogs;
int m_MaxTestDuration;
DECLARE_MESSAGE_MAP()
public:
void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
afx_msg void OnBnClickedCheckDarkmode();
afx_msg void OnBnClickedCheckAutoupdate();
afx_msg void OnBnClickedCheckAutoexport();
afx_msg void OnBnClickedCheckAutoupload();
afx_msg void OnEnChangeMfceditbrowse();
afx_msg void OnBnClickedCheckRunStartup();
afx_msg void OnBnClickedButtonPrefOk();
};