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

CUpgradeDlg Class Reference

#include <DlgUpgrade.h>

Inheritance diagram for CUpgradeDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_UPGRADE }

Public Member Functions

 CUpgradeDlg (CWnd *pParent=NULL)
void ParseCheckAgain ()

Public Attributes

BOOL m_bCheck
CString m_sMessage

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual void OnOK ()
virtual void OnCancel ()
virtual BOOL OnInitDialog ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 39 of file DlgUpgrade.h.


Constructor & Destructor Documentation

CUpgradeDlg::CUpgradeDlg CWnd *  pParent = NULL  ) 
 

Definition at line 49 of file DlgUpgrade.cpp.


Member Function Documentation

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

Reimplemented from CSkinDialog.

Definition at line 57 of file DlgUpgrade.cpp.

References CSkinDialog::DoDataExchange(), IDC_DONT_CHECK, IDC_MESSAGE, m_bCheck, and m_sMessage.

void CUpgradeDlg::OnCancel  )  [protected, virtual]
 

Definition at line 125 of file DlgUpgrade.cpp.

References ParseCheckAgain().

BOOL CUpgradeDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 69 of file DlgUpgrade.cpp.

References IDR_MAINFRAME, m_bCheck, m_sMessage, CVersionChecker::m_sUpgradePrompt, CSkinDialog::OnInitDialog(), CSkinDialog::SkinMe(), and VersionChecker.

void CUpgradeDlg::OnOK  )  [protected, virtual]
 

Definition at line 83 of file DlgUpgrade.cpp.

References CDownloads::Add(), CNetwork::Connect(), Downloads, CTigerNode::HashFromString(), CSHA::HashFromString(), CNetwork::IsWellConnected(), CShareazaURL::m_bSHA1, CShareazaURL::m_bSize, CShareazaURL::m_bTiger, CShareazaURL::m_nAction, CShareazaURL::m_nSize, CShareazaURL::m_pSHA1, CShareazaURL::m_pTiger, CMainWnd::m_pWindows, CShareazaURL::m_sName, CVersionChecker::m_sUpgradeFile, CVersionChecker::m_sUpgradeSHA1, CVersionChecker::m_sUpgradeSize, CVersionChecker::m_sUpgradeSources, CVersionChecker::m_sUpgradeTiger, CShareazaURL::m_sURL, Network, CWindowManager::Open(), ParseCheckAgain(), CShareazaURL::uriDownload, and VersionChecker.

void CUpgradeDlg::ParseCheckAgain  ) 
 

Definition at line 132 of file DlgUpgrade.cpp.

References m_bCheck, CVersionChecker::SetNextCheck(), and VersionChecker.

Referenced by OnCancel(), and OnOK().


Member Data Documentation

BOOL CUpgradeDlg::m_bCheck
 

Definition at line 40 of file DlgUpgrade.h.

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

CString CUpgradeDlg::m_sMessage
 

Definition at line 41 of file DlgUpgrade.h.

Referenced by DoDataExchange(), and OnInitDialog().


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