⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pagesettingsgnutella.h

📁 p2p软件
💻 H
字号:
//
// PageSettingsGnutella.h
//
// Copyright (c) Shareaza Development Team, 2002-2004.
// This file is part of SHAREAZA (www.shareaza.com)
//
// Shareaza is free software; you can redistribute it
// and/or modify it under the terms of the GNU General Public License
// as published by the Free Software Foundation; either version 2 of
// the License, or (at your option) any later version.
//
// Shareaza is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Shareaza; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
//

#if !defined(AFX_PAGESETTINGSGNUTELLA_H__94824865_78DA_468A_BDF0_55E6C4060058__INCLUDED_)
#define AFX_PAGESETTINGSGNUTELLA_H__94824865_78DA_468A_BDF0_55E6C4060058__INCLUDED_

#pragma once

#include "WndSettingsPage.h"


class CGnutellaSettingsPage : public CSettingsPage
{
// Construction
public:
	CGnutellaSettingsPage();
	virtual ~CGnutellaSettingsPage();

	DECLARE_DYNCREATE(CGnutellaSettingsPage)

// Dialog Data
public:
	//{{AFX_DATA(CGnutellaSettingsPage)
	enum { IDD = IDD_SETTINGS_GNUTELLA };
	CSpinButtonCtrl	m_wndG2Peers;
	CSpinButtonCtrl	m_wndG2Leafs;
	CSpinButtonCtrl	m_wndG2Hubs;
	CSpinButtonCtrl	m_wndG1Peers;
	CSpinButtonCtrl	m_wndG1Leafs;
	CSpinButtonCtrl	m_wndG1Hubs;
	CButton	m_wndUltraLeafForce;
	CButton	m_wndUltraPeerForce;
	BOOL	m_bG2Today;
	BOOL	m_bG1Today;
	BOOL	m_bG1Always;
	BOOL	m_bLeafEnable;
	BOOL	m_bHubEnable;
	BOOL	m_bHubForce;
	BOOL	m_bLeafForce;
	int		m_nG1Hubs;
	int		m_nG1Leafs;
	int		m_nG1Peers;
	int		m_nG2Hubs;
	int		m_nG2Leafs;
	int		m_nG2Peers;
	BOOL	m_bDeflateHub2Hub;
	BOOL	m_bDeflateLeaf2Hub;
	BOOL	m_bDeflateHub2Leaf;
	//}}AFX_DATA
	BOOL	m_bAgent;

// Overrides
public:
	//{{AFX_VIRTUAL(CGnutellaSettingsPage)
	public:
	virtual BOOL OnSetActive();
	virtual void OnOK();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	//{{AFX_MSG(CGnutellaSettingsPage)
	virtual BOOL OnInitDialog();
	afx_msg void OnG2Today();
	afx_msg void OnG1Today();
	afx_msg void OnUltrapeerEnable();
	afx_msg void OnUltraLeafEnable();
	afx_msg void OnUltraPeerForce();
	afx_msg void OnUltraLeafForce();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

};

//{{AFX_INSERT_LOCATION}}

#endif // !defined(AFX_PAGESETTINGSGNUTELLA_H__94824865_78DA_468A_BDF0_55E6C4060058__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -