#if !defined(AFX_HARDCOPYHISTORYDLG_H__1DDF18E9_0C61_4A99_AA85_65CA368CC324__INCLUDED_)
#define AFX_HARDCOPYHISTORYDLG_H__1DDF18E9_0C61_4A99_AA85_65CA368CC324__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HardCopyHistoryDlg.h : header file
//
#include "resource.h"
#include "apl_gui.h"
#include "apl_api.h"

class CaplInstance;
class CaplAPI;
/////////////////////////////////////////////////////////////////////////////
// CHardCopyHistoryDlg dialog

class CHardCopyHistoryDlg : public CaplResizableDialog
{
// Construction
public:
	void UpdateOwnersHistory();
	void UpdateDocRevHistory();
	CHardCopyHistoryDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CHardCopyHistoryDlg)
	enum { IDD = IDD_HARDCOPYHISTORYDLG_DIALOG };
	CStatic	m_border_ctrl;
	CaplButton	m_cancel_btn;
	//}}AFX_DATA
	CaplAPI *m_api;
	CaplInstance *m_doc_copy;
	CSortListCtrl m_list_ctrl;
	long m_mode;

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

// Implementation
protected:
	// предотвращаем потерю модальности после диалога с бочками из aplSocketTransport
	CaplParentWndProcesser m_pwp;

	// Generated message map functions
	//{{AFX_MSG(CHardCopyHistoryDlg)
	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_HARDCOPYHISTORYDLG_H__1DDF18E9_0C61_4A99_AA85_65CA368CC324__INCLUDED_)
