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

CDonkeyServersDlg Class Reference

#include <DlgDonkeyServers.h>

Inheritance diagram for CDonkeyServersDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_DONKEY_SERVERS }

Public Member Functions

 CDonkeyServersDlg (CWnd *pParent=NULL)
virtual ~CDonkeyServersDlg ()

Public Attributes

CEdit m_wndURL
CButton m_wndOK
CProgressCtrl m_wndProgress
CString m_sURL
HINTERNET m_hInternet
HANDLE m_hThread

Protected Member Functions

void OnRun ()
virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
virtual void OnCancel ()
afx_msg void OnChangeURL ()
afx_msg void OnTimer (UINT nIDEvent)

Static Protected Member Functions

static UINT ThreadStart (LPVOID pParam)

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 40 of file DlgDonkeyServers.h.


Constructor & Destructor Documentation

CDonkeyServersDlg::CDonkeyServersDlg CWnd *  pParent = NULL  ) 
 

Definition at line 45 of file DlgDonkeyServers.cpp.

References NULL.

CDonkeyServersDlg::~CDonkeyServersDlg  )  [virtual]
 

Definition at line 54 of file DlgDonkeyServers.cpp.

References m_hInternet, m_hThread, and NULL.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 60 of file DlgDonkeyServers.cpp.

References CSkinDialog::DoDataExchange(), IDC_PROGRESS, IDC_URL, m_sURL, m_wndOK, m_wndProgress, and m_wndURL.

void CDonkeyServersDlg::OnCancel  )  [protected, virtual]
 

Definition at line 115 of file DlgDonkeyServers.cpp.

References OnTimer().

void CDonkeyServersDlg::OnChangeURL  )  [protected]
 

Definition at line 90 of file DlgDonkeyServers.cpp.

References m_sURL, and m_wndOK.

BOOL CDonkeyServersDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 74 of file DlgDonkeyServers.cpp.

References CSettings::eDonkey, m_sURL, m_wndOK, m_wndProgress, CSkinDialog::OnInitDialog(), CSettings::seDonkey::ServerListURL, Settings, and CSkinDialog::SkinMe().

void CDonkeyServersDlg::OnOK  )  [protected, virtual]
 

Definition at line 96 of file DlgDonkeyServers.cpp.

References CSettings::eDonkey, m_hInternet, m_hThread, m_sURL, m_wndOK, m_wndURL, NULL, CSettings::seDonkey::ServerListURL, Settings, CSettings::SmartAgent(), and ThreadStart().

void CDonkeyServersDlg::OnRun  )  [protected]
 

Definition at line 164 of file DlgDonkeyServers.cpp.

References CHostCache::eDonkey, HostCache, CHostCacheList::ImportMET(), m_hInternet, m_sURL, m_wndProgress, NULL, and CHostCache::Save().

Referenced by ThreadStart().

void CDonkeyServersDlg::OnTimer UINT  nIDEvent  )  [protected]
 

Definition at line 121 of file DlgDonkeyServers.cpp.

References m_hInternet, m_hThread, CShareazaApp::Message(), MSG_DEBUG, NULL, and theApp.

Referenced by OnCancel().

UINT CDonkeyServersDlg::ThreadStart LPVOID  pParam  )  [static, protected]
 

Definition at line 157 of file DlgDonkeyServers.cpp.

References OnRun().

Referenced by OnOK().


Member Data Documentation

HINTERNET CDonkeyServersDlg::m_hInternet
 

Definition at line 49 of file DlgDonkeyServers.h.

Referenced by OnOK(), OnRun(), OnTimer(), and ~CDonkeyServersDlg().

HANDLE CDonkeyServersDlg::m_hThread
 

Definition at line 50 of file DlgDonkeyServers.h.

Referenced by OnOK(), OnTimer(), and ~CDonkeyServersDlg().

CString CDonkeyServersDlg::m_sURL
 

Definition at line 44 of file DlgDonkeyServers.h.

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

CButton CDonkeyServersDlg::m_wndOK
 

Definition at line 42 of file DlgDonkeyServers.h.

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

CProgressCtrl CDonkeyServersDlg::m_wndProgress
 

Definition at line 43 of file DlgDonkeyServers.h.

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

CEdit CDonkeyServersDlg::m_wndURL
 

Definition at line 41 of file DlgDonkeyServers.h.

Referenced by DoDataExchange(), and OnOK().


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