/*
*******************************************************************************
* Copyright (c) 1996-97 Digi International Inc., All Rights Reserved          *
*                                                                             *
* This  software  contains  proprietary  and  confidential   information   of *
* Digi International  Inc.   By  accepting  transfer  of this copy, Recipient *
* agrees to retain this software in  confidence,  to  prevent  disclosure  to *
* others,  and  to make no  use of this software other than that for which it *
* was delivered.  This is an unpublished copyright work  Digi   International *
* Inc.    Except   as   permitted   by  federal  law,  17 USC 117, copying is *
* strictly prohibited.                                                        *
*                                                                             *
* Digi  International  Inc.  CONFIDENTIAL  -   (Digi    International    Inc. *
* Confidential  when   combined   with   the   aggregated  modules  for  this *
* product) OBJECT CODE ONLY SOURCE MATERIALS                                  *
*                                                                             *
* (C) COPYRIGHT Digi International Inc. 1996-97                               *
*                                                                             *
* All Rights Reserved                                                         *
*                                                                             *
* US   Government   Users   Restricted   Rights   -   Use,   duplication   or *
* disclosure  restricted by GSA ADP Schedule Contract with Digi International *
* Inc.                                                                        *
*                                                                             *
*******************************************************************************

// Filter.h : header file

*/

/////////////////////////////////////////////////////////////////////////////
// CFRFilter dialog

class CMyCheckListBox : public CCheckListBox
{
public:
	CMyCheckListBox() : CCheckListBox() {};
};

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

// Dialog Data
	//{{AFX_DATA(CFRFilter)
	enum { IDD = IDD_FRFilter };
	int		m_AllRadio;
	int		m_1490Radio;
	//}}AFX_DATA
	CMyCheckListBox	m_DLCI;
	CDWordArray m_Circuits;
	CDWordArray m_FilterCircuit;


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CFRFilter)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	//}}AFX_MSG
	afx_msg void OnSelchangeCircuit();
	afx_msg void On1490All(UINT);
	DECLARE_MESSAGE_MAP()
};


/////////////////////////////////////////////////////////////////////////////
// CX25Filter dialog

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

// Dialog Data
	//{{AFX_DATA(CX25Filter)
	enum { IDD = IDD_X25Filter };
	int		m_AllRadio;
	int		m_X25All;
	//}}AFX_DATA
	CMyCheckListBox	m_Channel;
	CDWordArray m_Circuits;
	CDWordArray m_FilterCircuit;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CX25Filter)
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	afx_msg void OnSelchangeCircuit();
	afx_msg void OnAllAll(UINT);
	DECLARE_MESSAGE_MAP()
};
