#if !defined(AFX_X25SETTINGS_H__C6E70A13_0607_11D2_84CF_0040052F0B6E__INCLUDED_)
#define AFX_X25SETTINGS_H__C6E70A13_0607_11D2_84CF_0040052F0B6E__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// X25Settings.h : header file
//
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
// CX25Settings dialog

class CX25Settings : public CPropertyPage
{
	DECLARE_DYNCREATE(CX25Settings)

// Construction
public:
	CX25Settings();
	~CX25Settings();

// Dialog Data
	//{{AFX_DATA(CX25Settings)
	enum { IDD = IDD_X25SETTINGS };
	CComboBox	m_L3Window;
	CComboBox	m_L3Packet;
	CComboBox	m_L2Window;
	CString	m_NUAAddress;
	CString	m_RangeOutgoing;
	CString	m_RangePVC;
	CString	m_RangeIncoming;
	CString	m_RangeTwoWay;
	int		m_DataRateHigh;
	int		m_EncodingNRZ;
	BOOL	m_bFilter;
	BOOL	m_bReverse;
	BOOL	m_bStandby;
	BOOL	m_bStartup;
	short	m_N2RetryLimit;
	short	m_T1Timeout;
	//}}AFX_DATA


// Overrides
	// ClassWizard generate virtual function overrides
	//{{AFX_VIRTUAL(CX25Settings)
	public:
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	// Generated message map functions
	//{{AFX_MSG(CX25Settings)
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	BOOL ValidateRange(CString& szRange,LPCTSTR lpszTarget);
	int Convert(CString& szRange);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_X25SETTINGS_H__C6E70A13_0607_11D2_84CF_0040052F0B6E__INCLUDED_)
