forked from Corran-Raisu/FLCompanion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BaseInfoDlg.h
63 lines (51 loc) · 1.77 KB
/
BaseInfoDlg.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
#if !defined(AFX_BASEINFODLG_H__4EF18059_D081_4AC4_8A8E_9CB2A7876E98__INCLUDED_)
#define AFX_BASEINFODLG_H__4EF18059_D081_4AC4_8A8E_9CB2A7876E98__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// BaseInfoDlg.h : header file
//
#include "Base.h"
#include "ResourceProvider.h"
/////////////////////////////////////////////////////////////////////////////
// CBaseInfoDlg dialog
class CBaseInfoDlg : public CDialog
{
// Construction
public:
CBaseInfoDlg(CBase *base, CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CBaseInfoDlg)
enum { IDD = IDD_BASEINFO_DIALOG };
CListCtrl m_equipList;
CListCtrl m_goodList;
CListCtrl m_shipList;
CComboBox m_baseCombo;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CBaseInfoDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CBaseInfoDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSelchangeBaseCombo();
afx_msg void OnItemclickGoodsList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
static CBaseInfoDlg *g_baseInfoDlg;
BOOL LoadBaseMarkets(const CString &iniFilename);
static BOOL _LoadBaseMarkets(const CString &iniFilename) { return g_baseInfoDlg->LoadBaseMarkets(iniFilename); }
BOOL FindEquipNames(const CString &iniFilename);
static BOOL _FindEquipNames(const CString &iniFilename) { return g_baseInfoDlg->FindEquipNames(iniFilename); }
private:
CBase *m_base;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_BASEINFODLG_H__4EF18059_D081_4AC4_8A8E_9CB2A7876E98__INCLUDED_)