www.pudn.com > GGBT.rar > DlgAdvancedPage.h


#if !defined(AFX_DLGADVANCEDPAGE_H__3CC7AA39_1D92_47C8_886F_331B97B79D3D__INCLUDED_) 
#define AFX_DLGADVANCEDPAGE_H__3CC7AA39_1D92_47C8_886F_331B97B79D3D__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
// DlgAdvancedPage.h : header file 
// 
 
 
#include "StorageWrapper.h" 
#include "SetupRegister.h" 
#include "GroupBoxEx.h" 
#include "ButtonEx.h" 
 
///////////////////////////////////////////////////////////////////////////// 
// CDlgAdvancedPage dialog 
 
class CDlgAdvancedPage : public CPropertyPage 
{ 
// Construction 
public: 
	CDlgAdvancedPage(CWnd* pParent = NULL);   // standard constructor 
	 
	void GetData(CSetupRegister* pSetupRegister); 
	void SetData(CSetupRegister* pSetupRegister); 
	bool Apply(); 
 
// Dialog Data 
	//{{AFX_DATA(CDlgAdvancedPage) 
	enum { IDD = IDD_DIALOG_PAGE_ADVANCED }; 
	CButtonEx	m_btnReset; 
	CGroupBoxEx	m_gpAdvSetup; 
	CComboBox	m_cbFileLock; 
	CComboBox	m_cbExtraCheck; 
	CSpinButtonCtrl	m_spinAllocSpeed; 
	CComboBox	m_cbSeedType; 
	CComboBox	m_cbFileOpenMax; 
	CComboBox	m_cbAllocType; 
	CSpinButtonCtrl	m_spinPeersMax; 
	CSpinButtonCtrl	m_spinDisplayItval; 
	CSpinButtonCtrl	m_spinPeersMin; 
	CString	m_strSendServerIP; 
	CString	m_strBindIP; 
	//}}AFX_DATA 
 
 
	long	m_lPeersMin; 
	long	m_lPeersMax; 
	long	m_lDisplayItval; 
	long	m_lAllocSpeed; 
 
	CStorageWrapperEx::eAllocType m_eAllocType; 
	long	m_lFileOpenMax; 
	bool	m_bSuperSeed; 
 
 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CDlgAdvancedPage) 
	public: 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support 
	//}}AFX_VIRTUAL 
 
// Implementation 
protected: 
 
	// Generated message map functions 
	//{{AFX_MSG(CDlgAdvancedPage) 
	virtual BOOL OnInitDialog(); 
	virtual void OnOK(); 
	virtual void OnCancel(); 
	afx_msg void OnButtonReset(); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
private: 
	CSetupRegister* m_pSetupRegister; 
	CToolTipCtrl m_Tooltip; 
 
}; 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_DLGADVANCEDPAGE_H__3CC7AA39_1D92_47C8_886F_331B97B79D3D__INCLUDED_)