-
Notifications
You must be signed in to change notification settings - Fork 7
/
ExportEvLogDlg.h
64 lines (44 loc) · 1.75 KB
/
ExportEvLogDlg.h
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
58
59
60
61
62
63
64
#pragma once
#include "afxwin.h"
#include <MobileDoasLib/Flux/Traverse.h>
// CExportEvLogDlg dialog
namespace Dialogs {
class CExportEvLogDlg : public CDialog
{
DECLARE_DYNAMIC(CExportEvLogDlg)
public:
CExportEvLogDlg(CWnd* pParent = nullptr); // standard constructor
virtual ~CExportEvLogDlg();
static const int MAX_N_EXPORT_COLUMNS = 9;
// Dialog Data
enum { IDD = IDD_EXPORT_EVLOG_DIALOG };
/** Intitializing the controls */
virtual BOOL OnInitDialog();
// -------------------- PUBLIC DIALOG DATA -------------------
/** The CTraverse - object holds all traverse data */
mobiledoas::CTraverse* m_traverse;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnOK();
virtual void OnCancel();
DECLARE_MESSAGE_MAP()
// -------------------- DIALOG COMPONENTS -------------------------
/** The Labels saying 'Column 1', 'Column 2', etc.. */
CStatic m_labels[MAX_N_EXPORT_COLUMNS];
/** The combo-boxes */
CComboBox m_combo[MAX_N_EXPORT_COLUMNS];
/** The border 'frame' around the column-combo-boxes */
CStatic m_columnFrame;
/** These are the models for the labels and the combo-boxes */
CStatic m_labelModel;
CComboBox m_comboModel;
// -------------------- DIALOG DATA ------------------------
/** The file to export data to */
CString m_exportFileName;
/** The items to choose from */
int m_nStrings;
CString* m_strings;
public:
afx_msg void OnBrowseOutputFile();
};
}