// gls_impDlg.h : header file
//

#if !defined(AFX_GLS_IMPDLG_H__2682F512_73DB_4FE7_8812_D41A564B05EB__INCLUDED_)
#define AFX_GLS_IMPDLG_H__2682F512_73DB_4FE7_8812_D41A564B05EB__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CGls_impDlg dialog
#include <apl_gui.h>
;
class CaplInstance;
class CPSMDoc;

class CGls_impDlg : public CaplResizableDialog
{
	class CActivity
	{
	public:
		CString id;
		CString name;
		CString descr;
	};

// Construction
public:
	CGls_impDlg(CWnd* pParent = NULL);	// standard constructor
	CPSMDoc *m_doc;

	CaplInstance *m_ver_type;
	CaplInstance *m_qm_type;

// Dialog Data
	//{{AFX_DATA(CGls_impDlg)
	enum { IDD = IDD_GLS_IMP };
	CEdit	m_prefix_ctrl;
	CProgressCtrl	m_prgs;
	CaplButton	m_gls_btn;
	CaplButton	m_imp_btn;
	CaplButton	m_cancel_btn;
	CListCtrl	m_list;
	CString	m_prefix;
	BOOL	m_use_exist_doc;
	BOOL	m_create_razd;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGls_impDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	CArray <CActivity,CActivity&> a_act;
	CaplInstance *CreateBP(LPCTSTR id, LPCTSTR prefix, CaplInstance *act_type);
	int m_init_size;

	// Generated message map functions
	//{{AFX_MSG(CGls_impDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnGlsBrowse();
	afx_msg void OnImport();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GLS_IMPDLG_H__2682F512_73DB_4FE7_8812_D41A564B05EB__INCLUDED_)
