-
Notifications
You must be signed in to change notification settings - Fork 1
/
ImportUIBase.h
48 lines (35 loc) · 1.33 KB
/
ImportUIBase.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
/*//////////////////////////////////////////////////////////////////////////////
// Name: importuibase.h
// Purpose: Interface of CImportUIBase, common base class for CDlgImportDescr
// and CDlgImportWizard
// Author: Ruediger Herrmann
// Copyright: (c) Ruediger Herrmann
//////////////////////////////////////////////////////////////////////////////*/
#if !defined ( _IMPORTUIBASE_H_ )
#define _IMPORTUIBASE_H_
#include "importparams.h"
#if _MSC_VER > 1000
#pragma once
#endif
class CImportUIBase : public CResizableDialog
{
public:
CImportUIBase( UINT nIDTemplate, CWnd* pParentWnd = NULL );
virtual ~CImportUIBase();
void SetDoc ( int Value );
inline CImportParams* const GetParams() const { return m_CurrentImportParams; }
inline void SetImportParamsList ( CImportParamsList* const Value ) { m_ImportParamsList = Value; }
inline CImportParamsList* GetImportParamsList () const { return m_ImportParamsList; };
BOOL OnHelpInfo ( HELPINFO* pHelpInfo );
protected:
virtual void DoDataExchange(CDataExchange* pDX);
void EnableDialogItem ( int ID, BOOL Enable );
int m_pDoc; // document handle
CImportParams* m_CurrentImportParams;
CImportParamsList* m_ImportParamsList;
public:
DECLARE_MESSAGE_MAP()
afx_msg void OnDestroy();
afx_msg BOOL OnEraseBkgnd(CDC* pDC);
};
#endif // _IMPORTUIBASE_H_