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

CBitTorrentSettingsPage Class Reference

#include <PageSettingsBitTorrent.h>

Inheritance diagram for CBitTorrentSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_BITTORRENT }

Public Member Functions

 CBitTorrentSettingsPage ()
virtual ~CBitTorrentSettingsPage ()
virtual void OnOK ()
virtual BOOL OnSetActive ()

Public Attributes

BOOL m_bTorrentInterface
BOOL m_bEndGame
CSpinButtonCtrl m_wndLinksSpin
int m_nLinks
CSpinButtonCtrl m_wndDownloadsSpin
int m_nDownloads
BOOL m_bAutoClear
CEdit m_wndClearPercentage
CSpinButtonCtrl m_wndClearPercentageSpin
int m_nClearPercentage
BOOL m_bPrefBTSources
CIconButtonCtrl m_wndTorrentPath
CString m_sTorrentPath
CString m_sTracker
CIconButtonCtrl m_wndMakerPath
CString m_sMakerPath

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnTorrentsAutoClear ()
afx_msg void OnTorrentsBrowse ()
afx_msg void OnMakerBrowse ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file PageSettingsBitTorrent.h.


Constructor & Destructor Documentation

CBitTorrentSettingsPage::CBitTorrentSettingsPage  ) 
 

Definition at line 50 of file PageSettingsBitTorrent.cpp.

CBitTorrentSettingsPage::~CBitTorrentSettingsPage  )  [virtual]
 

Definition at line 66 of file PageSettingsBitTorrent.cpp.


Member Function Documentation

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

Reimplemented from CSettingsPage.

Definition at line 70 of file PageSettingsBitTorrent.cpp.

References CSettingsPage::DoDataExchange(), IDC_TORRENT_AUTOCLEAR, IDC_TORRENT_CLEAR_PERCENTAGE, IDC_TORRENT_CLEAR_SPIN, IDC_TORRENT_CLIENTLINKS, IDC_TORRENT_DEFAULTTRACKER, IDC_TORRENT_DOWNLOADS, IDC_TORRENT_DOWNLOADS_SPIN, IDC_TORRENT_ENDGAME, IDC_TORRENT_INTERFACE, IDC_TORRENT_LINKS_SPIN, IDC_TORRENT_PREFERENCE, IDC_TORRENTS_BROWSE, IDC_TORRENTS_FOLDER, IDC_TORRENTS_TORRENTMAKER, IDC_TORRENTS_TORRENTMAKERBROWSE, m_bAutoClear, m_bEndGame, m_bPrefBTSources, m_bTorrentInterface, m_nClearPercentage, m_nDownloads, m_nLinks, m_sMakerPath, m_sTorrentPath, m_sTracker, m_wndClearPercentage, m_wndClearPercentageSpin, m_wndDownloadsSpin, m_wndLinksSpin, m_wndMakerPath, and m_wndTorrentPath.

BOOL CBitTorrentSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 96 of file PageSettingsBitTorrent.cpp.

References CSettings::sBitTorrent::AdvancedInterface, CSettings::sBitTorrent::AutoClear, CSettings::BitTorrent, CSettings::sBitTorrent::ClearRatio, CSettings::sBitTorrent::DefaultTracker, CSettings::sBitTorrent::DownloadConnections, CSettings::Downloads, CSettings::sBitTorrent::DownloadTorrents, CSettings::sBitTorrent::Endgame, CSettings::GetOutgoingBandwidth(), IDI_BROWSE, m_bAutoClear, m_bEndGame, m_bPrefBTSources, m_bTorrentInterface, m_nClearPercentage, m_nDownloads, m_nLinks, m_sMakerPath, m_sTorrentPath, m_sTracker, m_wndClearPercentage, m_wndClearPercentageSpin, m_wndDownloadsSpin, m_wndLinksSpin, m_wndMakerPath, m_wndTorrentPath, CSettingsPage::OnInitDialog(), CSettings::sBitTorrent::PreferenceBTSources, CIconButtonCtrl::SetIcon(), Settings, CSettings::sBitTorrent::TorrentCreatorPath, and CSettings::sDownloads::TorrentPath.

void CBitTorrentSettingsPage::OnMakerBrowse  )  [protected]
 

Definition at line 174 of file PageSettingsBitTorrent.cpp.

References m_sMakerPath.

void CBitTorrentSettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 186 of file PageSettingsBitTorrent.cpp.

References CSettings::sBitTorrent::AdvancedInterface, CSettings::sBitTorrent::AutoClear, CSettings::BitTorrent, CSettings::sBitTorrent::ClearRatio, CSettings::sBitTorrent::DefaultTracker, CSettings::sBitTorrent::DownloadConnections, CSettings::Downloads, CSettings::sBitTorrent::DownloadTorrents, CSettings::sBitTorrent::Endgame, CSettings::GetOutgoingBandwidth(), m_bAutoClear, m_bEndGame, CShareazaApp::m_bNT, m_bPrefBTSources, m_bTorrentInterface, m_nClearPercentage, m_nDownloads, m_nLinks, m_sMakerPath, m_sTorrentPath, m_sTracker, CSettingsPage::OnOK(), CSettings::sBitTorrent::PreferenceBTSources, Settings, theApp, CSettings::sBitTorrent::TorrentCreatorPath, and CSettings::sDownloads::TorrentPath.

BOOL CBitTorrentSettingsPage::OnSetActive  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 127 of file PageSettingsBitTorrent.cpp.

References CSettings::GetOutgoingBandwidth(), m_nDownloads, m_wndDownloadsSpin, CSettingsPage::OnSetActive(), and Settings.

void CBitTorrentSettingsPage::OnTorrentsAutoClear  )  [protected]
 

Definition at line 140 of file PageSettingsBitTorrent.cpp.

References m_bAutoClear, m_wndClearPercentage, and m_wndClearPercentageSpin.

void CBitTorrentSettingsPage::OnTorrentsBrowse  )  [protected]
 

Definition at line 147 of file PageSettingsBitTorrent.cpp.

References m_sTorrentPath, and NULL.


Member Data Documentation

BOOL CBitTorrentSettingsPage::m_bAutoClear
 

Definition at line 50 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnTorrentsAutoClear().

BOOL CBitTorrentSettingsPage::m_bEndGame
 

Definition at line 45 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CBitTorrentSettingsPage::m_bPrefBTSources
 

Definition at line 54 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

BOOL CBitTorrentSettingsPage::m_bTorrentInterface
 

Definition at line 44 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CBitTorrentSettingsPage::m_nClearPercentage
 

Definition at line 53 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

int CBitTorrentSettingsPage::m_nDownloads
 

Definition at line 49 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnSetActive().

int CBitTorrentSettingsPage::m_nLinks
 

Definition at line 47 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CString CBitTorrentSettingsPage::m_sMakerPath
 

Definition at line 59 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), OnMakerBrowse(), and OnOK().

CString CBitTorrentSettingsPage::m_sTorrentPath
 

Definition at line 56 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), OnOK(), and OnTorrentsBrowse().

CString CBitTorrentSettingsPage::m_sTracker
 

Definition at line 57 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnOK().

CEdit CBitTorrentSettingsPage::m_wndClearPercentage
 

Definition at line 51 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnTorrentsAutoClear().

CSpinButtonCtrl CBitTorrentSettingsPage::m_wndClearPercentageSpin
 

Definition at line 52 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnTorrentsAutoClear().

CSpinButtonCtrl CBitTorrentSettingsPage::m_wndDownloadsSpin
 

Definition at line 48 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), OnInitDialog(), and OnSetActive().

CSpinButtonCtrl CBitTorrentSettingsPage::m_wndLinksSpin
 

Definition at line 46 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), and OnInitDialog().

CIconButtonCtrl CBitTorrentSettingsPage::m_wndMakerPath
 

Definition at line 58 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), and OnInitDialog().

CIconButtonCtrl CBitTorrentSettingsPage::m_wndTorrentPath
 

Definition at line 55 of file PageSettingsBitTorrent.h.

Referenced by DoDataExchange(), and OnInitDialog().


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