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

CFileSourcesPage Class Reference

#include <PageFileSources.h>

Inheritance diagram for CFileSourcesPage:

CFilePropertiesPage List of all members.

Public Types

enum  { IDD = IDD_FILE_SOURCES }

Public Member Functions

 CFileSourcesPage ()
virtual ~CFileSourcesPage ()

Public Attributes

CButton m_wndRemove
CButton m_wndNew
CListCtrl m_wndList
CString m_sSource

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnItemChangedFileSources (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnChangeFileSource ()
afx_msg void OnSourceRemove ()
afx_msg void OnSourceNew ()

Private Member Functions

void AddSource (CSharedSource *pSource)

Private Attributes

CImageList m_gdiImageList

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 44 of file PageFileSources.h.


Constructor & Destructor Documentation

CFileSourcesPage::CFileSourcesPage  ) 
 

Definition at line 51 of file PageFileSources.cpp.

CFileSourcesPage::~CFileSourcesPage  )  [virtual]
 

Definition at line 58 of file PageFileSources.cpp.


Member Function Documentation

void CFileSourcesPage::AddSource CSharedSource pSource  )  [private]
 

Definition at line 114 of file PageFileSources.cpp.

References CSettings::Library, CShareazaApp::m_bRTL, m_wndList, NULL, Settings, CSettings::sLibrary::SourceExpire, and theApp.

Referenced by OnInitDialog(), and OnSourceNew().

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

Reimplemented from CFilePropertiesPage.

Definition at line 62 of file PageFileSources.cpp.

References CFilePropertiesPage::DoDataExchange(), IDC_FILE_SOURCE, IDC_FILE_SOURCES, IDC_SOURCE_NEW, IDC_SOURCE_REMOVE, m_sSource, m_wndList, m_wndNew, and m_wndRemove.

void CFileSourcesPage::OnChangeFileSource  )  [protected]
 

Definition at line 153 of file PageFileSources.cpp.

References m_sSource, and m_wndNew.

BOOL CFileSourcesPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CFilePropertiesPage.

Definition at line 76 of file PageFileSources.cpp.

References AddSource(), CreateMirroredIcon(), CFilePropertiesPage::GetFile(), IDI_WEB_URL, Library, CShareazaApp::m_bRTL, m_gdiImageList, CLibrary::m_pSection, CLibraryFile::m_pSources, m_wndList, m_wndNew, m_wndRemove, NULL, CFilePropertiesPage::OnInitDialog(), Skin, theApp, and CSkin::Translate().

void CFileSourcesPage::OnItemChangedFileSources NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 146 of file PageFileSources.cpp.

References m_wndList, and m_wndRemove.

void CFileSourcesPage::OnSourceNew  )  [protected]
 

Definition at line 184 of file PageFileSources.cpp.

References AddSource(), CFilePropertiesPage::GetFile(), Library, CLibrary::m_pSection, m_sSource, and CLibrary::Update().

void CFileSourcesPage::OnSourceRemove  )  [protected]
 

Definition at line 159 of file PageFileSources.cpp.

References CFilePropertiesPage::GetFile(), Library, CLibrary::m_pSection, CLibraryFile::m_pSources, m_wndList, m_wndRemove, NULL, and CLibrary::Update().


Member Data Documentation

CImageList CFileSourcesPage::m_gdiImageList [private]
 

Definition at line 52 of file PageFileSources.h.

Referenced by OnInitDialog().

CString CFileSourcesPage::m_sSource
 

Definition at line 48 of file PageFileSources.h.

Referenced by DoDataExchange(), OnChangeFileSource(), and OnSourceNew().

CListCtrl CFileSourcesPage::m_wndList
 

Definition at line 47 of file PageFileSources.h.

Referenced by AddSource(), DoDataExchange(), OnInitDialog(), OnItemChangedFileSources(), and OnSourceRemove().

CButton CFileSourcesPage::m_wndNew
 

Definition at line 46 of file PageFileSources.h.

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

CButton CFileSourcesPage::m_wndRemove
 

Definition at line 45 of file PageFileSources.h.

Referenced by DoDataExchange(), OnInitDialog(), OnItemChangedFileSources(), and OnSourceRemove().


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