#if !defined(AFX_PERSOFFICIALDLG_H__FB67CC7A_2CEC_440B_B276_1E2EF86E916C__INCLUDED_)
#define AFX_PERSOFFICIALDLG_H__FB67CC7A_2CEC_440B_B276_1E2EF86E916C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PersOfficialDlg.h : header file
//

#include "resource.h"
#include "apl_gui.h"
#include "apl_api.h"

/////////////////////////////////////////////////////////////////////////////
// CPersOfficialDlg dialog

class CPersOfficialDlg : public CaplTranslateDialog
{
// Construction
public:
	void FillList();
	CPersOfficialDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CPersOfficialDlg)
	enum { IDD = IDD_PERS_OFFICIAL };
	CaplButton	m_btn_cancel;
	CaplButton	m_btn_ok;
	CStatic	m_list_static;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	CImageList m_imageList;
	CSortListCtrl m_list_obj;
	CaplInstance * m_pInstance;

	CaplAutorizationManager * m_auth_mgr;
	
	CaplNetStepData * m_data;

	CaplEntity * e_official;
	CaplAttr * a_id, *a_owner, *a_act_person, * a_possible_persons;
	CaplAttr * a_act_person_hist;



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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CPersOfficialDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSetActPerson();
	afx_msg void OnShowHist();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PERSOFFICIALDLG_H__FB67CC7A_2CEC_440B_B276_1E2EF86E916C__INCLUDED_)
