#if !defined(AFX_OFFICIALHISTDLG_H__F3AAF495_329A_4C37_8995_FDD05FE096E7__INCLUDED_)
#define AFX_OFFICIALHISTDLG_H__F3AAF495_329A_4C37_8995_FDD05FE096E7__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// COfficialHistDlg dialog

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

enum {	OWNER_HIST, PERSON_HIST };

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

// Dialog Data
	//{{AFX_DATA(COfficialHistDlg)
	enum { IDD = IDD_OFFICIAL_HIST };
	CaplButton	m_btn_cancel;
	CaplButton	m_btn_ok;
	CStatic	m_list_static;
	//}}AFX_DATA

	CImageList m_imageList;
	CSortListCtrl m_list_obj;
	CaplInstance * m_pInstance;

	CaplAutorizationManager * m_auth_mgr;
	

	int m_hist_type; // 0 - OWNER, 1--- PERSON
	CaplNetStepData * m_data;

	CaplEntity * e_off_hist;
	CaplAttr * a_hist_person, *a_hist_date, *a_hist_descr, *a_hist_user;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COfficialHistDlg)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_OFFICIALHISTDLG_H__F3AAF495_329A_4C37_8995_FDD05FE096E7__INCLUDED_)
