#if !defined(AFX_OPTIONS4AUTOACCESS_H__332E8D5C_4AE8_4BC5_8B77_24C4B54042FC__INCLUDED_)
#define AFX_OPTIONS4AUTOACCESS_H__332E8D5C_4AE8_4BC5_8B77_24C4B54042FC__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// COptions4AutoAccess dialog

class CaplAPI;

class COptions4AutoAccess : public CaplResizableDialog
{
// Construction
public:
	COptions4AutoAccess(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(COptions4AutoAccess)
	enum { IDD = IDD_WFS_HISTORY_DLG };
	CComboBox	m_CmbProp;
	CSortListCtrl	m_OptionsList;
	//}}AFX_DATA

	bool FeelTable();
	void TestEdited();

	CaplAPI* m_api;

	CaplInstance* m_is_edited_opt;
	//aplExtent m_AccessPatterns;
	CaplStrMap m_AccessPatternsMap;

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

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

	// Generated message map functions
	//{{AFX_MSG(COptions4AutoAccess)
	afx_msg void OnDblclkWfshList(NMHDR* pNMHDR, LRESULT* pResult);
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	afx_msg void OnRclickWfshList(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnClickWfshList(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_OPTIONS4AUTOACCESS_H__332E8D5C_4AE8_4BC5_8B77_24C4B54042FC__INCLUDED_)
