Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

CAdvancedSettingsPage Class Reference

#include <PageSettingsTraffic.h>

Inheritance diagram for CAdvancedSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_ADVANCED }

Public Member Functions

 CAdvancedSettingsPage ()
virtual ~CAdvancedSettingsPage ()
void AddSetting (LPVOID pValue, DWORD nScale=1, DWORD nMin=0, DWORD nMax=0, LPCTSTR pszSuffix=NULL)
void UpdateItem (int nItem)
virtual void OnOK ()

Public Attributes

CSpinButtonCtrl m_wndValueSpin
CEdit m_wndValue
CListCtrl m_wndList

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnDestroy ()
afx_msg void OnItemChangedProperties (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnChangeValue ()
afx_msg void OnColumnClickProperties (NMHDR *pNMHDR, LRESULT *pResult)

Classes

class  EditItem

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 73 of file PageSettingsTraffic.h.


Constructor & Destructor Documentation

CAdvancedSettingsPage::CAdvancedSettingsPage  ) 
 

Definition at line 51 of file PageSettingsTraffic.cpp.

CAdvancedSettingsPage::~CAdvancedSettingsPage  )  [virtual]
 

Definition at line 57 of file PageSettingsTraffic.cpp.


Member Function Documentation

void CAdvancedSettingsPage::AddSetting LPVOID  pValue,
DWORD  nScale = 1,
DWORD  nMin = 0,
DWORD  nMax = 0,
LPCTSTR  pszSuffix = NULL
 

Definition at line 293 of file PageSettingsTraffic.cpp.

References CSettings::GetSetting(), CAdvancedSettingsPage::EditItem::m_sName, m_wndList, NULL, Settings, and UpdateItem().

Referenced by OnInitDialog().

void CAdvancedSettingsPage::DoDataExchange CDataExchange *  pDX  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 61 of file PageSettingsTraffic.cpp.

References CSettingsPage::DoDataExchange(), IDC_PROPERTIES, IDC_VALUE, IDC_VALUE_SPIN, m_wndList, m_wndValue, and m_wndValueSpin.

void CAdvancedSettingsPage::OnChangeValue  )  [protected]
 

Definition at line 364 of file PageSettingsTraffic.cpp.

References CAdvancedSettingsPage::EditItem::m_nMax, CAdvancedSettingsPage::EditItem::m_nMin, CAdvancedSettingsPage::EditItem::m_nScale, CAdvancedSettingsPage::EditItem::m_nValue, m_wndList, m_wndValue, NULL, and UpdateItem().

void CAdvancedSettingsPage::OnColumnClickProperties NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 386 of file PageSettingsTraffic.cpp.

References m_wndList, and CLiveList::Sort().

void CAdvancedSettingsPage::OnDestroy  )  [protected]
 

Definition at line 404 of file PageSettingsTraffic.cpp.

References m_wndList.

BOOL CAdvancedSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 74 of file PageSettingsTraffic.cpp.

References CSettings::sDiscovery::AccessThrottle, AddSetting(), CSettings::sSearch::AdvancedPanel, CSettings::sUploads::AllowBackwards, CSettings::sDownloads::AllowBackwards, CSettings::sUploads::AutoClear, CSettings::sDownloads::AutoClear, CSettings::sBitTorrent::AutoSeed, CSettings::Bandwidth, CSettings::sBitTorrent::BandwidthPercentage, CSettings::BitTorrent, CSettings::sGnutella::BlockBlankClients, CSettings::sDiscovery::BootstrapCount, CSettings::sDownloads::BufferSize, CSettings::sDiscovery::CacheCount, CSettings::sCommunity::ChatFilterED2K, CSettings::sDownloads::ChunkSize, CSettings::sDownloads::ChunkStrap, CSettings::sUploads::ClampdownFactor, CSettings::sUploads::ClampdownFloor, CSettings::sUploads::ClearDelay, CSettings::sDownloads::ClearDelay, CSettings::Community, CSettings::sGnutella::ConnectFactor, CSettings::Connection, CSettings::sDownloads::ConnectThrottle, CSettings::sConnection::ConnectThrottle, CSettings::sGeneral::Debug, CSettings::sGeneral::DebugLog, CSettings::sBitTorrent::DefaultTrackerPeriod, CSettings::sGnutella1::DefaultTTL, CSettings::sDiscovery::DefaultUpdate, CSettings::seDonkey::DequeueTime, CSettings::sConnection::DetectConnectionLoss, CSettings::sConnection::DetectConnectionReset, CSettings::Discovery, CSettings::sGeneral::DiskSpaceStop, CSettings::sGeneral::DiskSpaceWarning, CSettings::Downloads, CSettings::sUploads::DynamicPreviews, CSettings::eDonkey, CSettings::sGnutella2::EnableAlways, CSettings::sGnutella1::EnableGGEP, CSettings::seDonkey::Endgame, CSettings::seDonkey::ExtendedRequest, CSettings::sDiscovery::FailureLimit, CSettings::seDonkey::FastConnect, CSettings::sDownloads::FlushSD, CSettings::sConnection::ForceConnectedState, CSettings::seDonkey::FrameSize, CSettings::sUploads::FreeBandwidthFactor, CSettings::sUploads::FreeBandwidthValue, CSettings::General, CSettings::sSearch::GeneralThrottle, CSettings::seDonkey::GetSourcesThrottle, CSettings::Gnutella, CSettings::Gnutella1, CSettings::Gnutella2, CSettings::sGeneral::HashIntegrity, CSettings::sLibrary::HashWindow, CSettings::sGnutella2::HAWPeriod, CSettings::sSearch::HighlightNew, CSettings::sGnutella::HitsPerPacket, CSettings::sGnutella::HostCacheSize, CSettings::sGnutella2::HostCurrent, CSettings::sGnutella2::HostExpire, CSettings::sGnutella1::HostExpire, CSettings::sGnutella2::HubHorizonSize, CSettings::sBandwidth::HubIn, CSettings::sBandwidth::HubOut, CSettings::sBandwidth::HubUploads, CSettings::sConnection::IgnoreOwnIP, CSettings::Interface, CSettings::sGnutella2::KHLHubCount, CSettings::sGnutella2::KHLPeriod, CSettings::sBandwidth::LeafIn, CSettings::sBandwidth::LeafOut, CSettings::seDonkey::LearnNewServers, CSettings::seDonkey::LearnNewServersClient, CSettings::Library, CSettings::sBitTorrent::LinkPing, CSettings::sBitTorrent::LinkTimeout, CSettings::sDiscovery::Lowpoint, CSettings::sInterface::LowResMode, m_wndList, CSettings::seDonkey::MagnetSearch, CSettings::sDownloads::MaxConnectingSources, CSettings::sGeneral::MaxDebugLogSize, CSettings::sDownloads::MaxFileSearches, CSettings::sGnutella::MaxHits, CSettings::sGnutella1::MaximumPacket, CSettings::sGnutella1::MaximumQuery, CSettings::sGnutella1::MaximumTTL, CSettings::sSearch::MaxPreviewLength, CSettings::sGnutella::MaxResults, CSettings::sDownloads::MaxReviews, CSettings::seDonkey::MaxShareCount, CSettings::sBitTorrent::MaxTrackerRetry, CSettings::sDownloads::Metadata, CSettings::seDonkey::MinServerFileSize, CSettings::sDownloads::MinSources, CSettings::sGeneral::MinTransfersRest, CSettings::sSearch::MonitorQueue, CSettings::sDownloads::NeverDrop, CSettingsPage::OnInitDialog(), CSettings::sGnutella1::PacketBufferSize, CSettings::sGnutella1::PacketBufferTime, CSettings::seDonkey::PacketThrottle, CSettings::sBandwidth::PeerIn, CSettings::sBandwidth::PeerOut, CSettings::sGnutella1::PingFlood, CSettings::sGnutella1::PingRate, CSettings::sGnutella2::PingRelayLimit, CSettings::sGnutella1::PongCache, CSettings::sGnutella1::PongCount, CSettings::sUploads::PreviewQuality, CSettings::sUploads::PreviewTransfers, CSettings::sDownloads::PushTimeout, CSettings::seDonkey::QueryFileThrottle, CSettings::seDonkey::QueryGlobalThrottle, CSettings::sGnutella2::QueryGlobalThrottle, CSettings::sGnutella1::QueryHitUTF8, CSettings::sGnutella2::QueryHostDeadline, CSettings::sGnutella2::QueryHostThrottle, CSettings::sGnutella2::QueryLimit, CSettings::sLibrary::QueryRouteSize, CSettings::sGnutella1::QuerySearchUTF8, CSettings::seDonkey::QueryServerThrottle, CSettings::sGnutella1::QueryThrottle, CSettings::sUploads::QueuePollMax, CSettings::sUploads::QueuePollMin, CSettings::seDonkey::QueueRankThrottle, CSettings::sBitTorrent::RandomPeriod, CSettings::seDonkey::ReAskTime, CSettings::sGnutella2::RequeryDelay, CSettings::sGnutella1::RequeryDelay, CSettings::sBandwidth::Request, CSettings::sDownloads::RequestHash, CSettings::sDownloads::RequestHTTP11, CSettings::sBitTorrent::RequestLimit, CSettings::sBitTorrent::RequestPipe, CSettings::seDonkey::RequestPipe, CSettings::sBitTorrent::RequestSize, CSettings::seDonkey::RequestSize, CSettings::sDownloads::RequestURLENC, CSettings::sConnection::RequireForTransfers, CSettings::sDownloads::RetryDelay, CSettings::sUploads::RewardQueuePercentage, CSettings::sUploads::RotateChunkLimit, CSettings::sGnutella::RouteCache, CSettings::sDownloads::SaveInterval, CSettings::sSearch::SchemaTypes, CSettings::Search, CSettings::sDownloads::SearchPeriod, CSettings::sGnutella1::SearchTTL, CSettings::sConnection::SendBuffer, Settings, CSettings::sSearch::ShowNames, CSettings::sDownloads::ShowPercent, Skin, CSettings::sConnection::SlowConnect, CLiveList::Sort(), CSettings::sDownloads::SortColumns, CSettings::sDownloads::SortSources, CSettings::sBitTorrent::SourceExchangePeriod, CSettings::sLibrary::SourceExpire, CSettings::sLibrary::SourceMesh, CSettings::seDonkey::SourceThrottle, CSettings::sDownloads::SparseThreshold, CSettings::sGnutella::SpecifyProtocol, CSettings::sDownloads::StaggardStart, CSettings::sBitTorrent::StandardPeerID, CSettings::sDownloads::StarveGiveUp, CSettings::sDownloads::StarveTimeout, CSettings::seDonkey::StatsGlobalThrottle, CSettings::seDonkey::StatsServerThrottle, CSettings::sGnutella1::StrictPackets, CSettings::seDonkey::TagNames, CSettings::sLibrary::ThumbSize, CSettings::sLibrary::TigerHeight, CSettings::sConnection::TimeoutTraffic, CSettings::sBitTorrent::TorrentCodePage, CSettings::sBitTorrent::TorrentExtraKeys, CSettings::sBitTorrent::TorrentIgnoreErrors, CSettings::sBitTorrent::TrackerKey, CSkin::Translate(), CSettings::sGnutella1::TranslateTTL, CSettings::sGnutella2::UdpBuffers, CSettings::sGnutella2::UdpGlobalThrottle, CSettings::sGnutella2::UdpInExpire, CSettings::sGnutella2::UdpInFrames, CSettings::sGnutella2::UdpMTU, CSettings::sBandwidth::UdpOut, CSettings::sGnutella2::UdpOutExpire, CSettings::sGnutella2::UdpOutFrames, CSettings::sGnutella2::UdpOutResend, CSettings::sGeneral::UpdateCheck, CSettings::sDiscovery::UpdatePeriod, CSettings::sBitTorrent::UploadCount, CSettings::Uploads, CSettings::sGnutella1::VendorMsg, CSettings::sDownloads::VerifyFiles, CSettings::sDownloads::VerifyTiger, and CSettings::sLibrary::VirtualFiles.

void CAdvancedSettingsPage::OnItemChangedProperties NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 335 of file PageSettingsTraffic.cpp.

References CAdvancedSettingsPage::EditItem::m_nMax, CAdvancedSettingsPage::EditItem::m_nMin, CAdvancedSettingsPage::EditItem::m_nScale, CAdvancedSettingsPage::EditItem::m_nValue, m_wndList, m_wndValue, and m_wndValueSpin.

void CAdvancedSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 393 of file PageSettingsTraffic.cpp.

References CAdvancedSettingsPage::EditItem::Commit(), m_wndList, and CSettingsPage::OnOK().

void CAdvancedSettingsPage::UpdateItem int  nItem  ) 
 

Definition at line 314 of file PageSettingsTraffic.cpp.

References CShareazaApp::m_bRTL, CAdvancedSettingsPage::EditItem::m_nMax, CAdvancedSettingsPage::EditItem::m_nMin, CAdvancedSettingsPage::EditItem::m_nScale, CAdvancedSettingsPage::EditItem::m_nValue, CAdvancedSettingsPage::EditItem::m_sSuffix, m_wndList, and theApp.

Referenced by AddSetting(), and OnChangeValue().


Member Data Documentation

CListCtrl CAdvancedSettingsPage::m_wndList
 

Definition at line 76 of file PageSettingsTraffic.h.

Referenced by AddSetting(), DoDataExchange(), OnChangeValue(), OnColumnClickProperties(), OnDestroy(), OnInitDialog(), OnItemChangedProperties(), OnOK(), and UpdateItem().

CEdit CAdvancedSettingsPage::m_wndValue
 

Definition at line 75 of file PageSettingsTraffic.h.

Referenced by DoDataExchange(), OnChangeValue(), and OnItemChangedProperties().

CSpinButtonCtrl CAdvancedSettingsPage::m_wndValueSpin
 

Definition at line 74 of file PageSettingsTraffic.h.

Referenced by DoDataExchange(), and OnItemChangedProperties().


The documentation for this class was generated from the following files:
Generated on Thu Dec 15 10:40:02 2005 for Shareaza 2.2.1.0 by  doxygen 1.4.2