// Copyright (C) 2000
//          by the Massachusetts Institute of Technology
//
//    Export of this software from the United States of America may
//    require a specific license from the United States Government.  It
//    is the responsibility of any person or organization contemplating
//    export to obtain such a license before exporting.
//
// WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
// distribute this software and its documentation for any purpose and
// without fee is hereby granted, provided that the above copyright
// notice appear in all copies and that both that copyright notice and
// this permission notice appear in supporting documentation, and that
// the name of M.I.T. not be used in advertising or publicity pertaining
// to distribution of the software without specific, written prior
// permission.  M.I.T. makes no representations about the suitability of
// this software for any purpose.  It is provided "as is" without express
// or implied warranty.

#if !defined(AFX_NEWCONNECT_H__28CB51C2_A621_11D1_BA8C_444553540000__INCLUDED_)
#define AFX_NEWCONNECT_H__28CB51C2_A621_11D1_BA8C_444553540000__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// NewConnect dialog

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

// Dialog Data
	//{{AFX_DATA(NewConnect)
	enum { IDD = IDD_NEWCONNECT };
	CEdit	m_EditHostname;
	CEdit	m_EditPort;
	CEdit	m_EditPassword;
	CEdit	m_EditUsername;
	CComboBox	m_ComboCipher;
	CSliderCtrl	m_SliderCompression;
	CComboBox	m_ComboProtocol;
	CListBox	m_LBoxHostlist;
	//}}AFX_DATA

	CString szHostname;
	CString szUsername;
	CString szPassword;
	CString szProtocol;
	
	int iCompression;
	int iCipher;
	int iPort;

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(NewConnect)
	virtual BOOL OnInitDialog();
	afx_msg void OnSelchangeComboProtocol();
	virtual void OnOK();
	afx_msg void OnDblclkListHostlist();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_NEWCONNECT_H__28CB51C2_A621_11D1_BA8C_444553540000__INCLUDED_)
