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

CLibrarySettingsPage Class Reference

#include <PageSettingsLibrary.h>

Inheritance diagram for CLibrarySettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_LIBRARY }

Public Member Functions

 CLibrarySettingsPage ()
virtual ~CLibrarySettingsPage ()
virtual void OnOK ()

Public Attributes

CSpinButtonCtrl m_wndRecentTotal
CSpinButtonCtrl m_wndRecentDays
CButton m_wndSafeRemove
CButton m_wndSafeAdd
CComboBox m_wndSafeList
CButton m_wndPrivateRemove
CButton m_wndPrivateAdd
CComboBox m_wndPrivateList
BOOL m_bWatchFolders
DWORD m_nRecentDays
int m_nRecentTotal
BOOL m_bStoreViews
BOOL m_bHighPriorityHash
BOOL m_bBrowseFiles
CIconButtonCtrl m_wndCollectionPath
CString m_sCollectionPath

Protected Member Functions

virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
afx_msg void OnSelChangeSafeTypes ()
afx_msg void OnEditChangeSafeTypes ()
afx_msg void OnSafeAdd ()
afx_msg void OnSafeRemove ()
afx_msg void OnSelChangePrivateTypes ()
afx_msg void OnEditChangePrivateTypes ()
afx_msg void OnPrivateAdd ()
afx_msg void OnPrivateRemove ()
afx_msg void OnRecentClear ()
afx_msg void OnCollectionsBrowse ()

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 43 of file PageSettingsLibrary.h.


Constructor & Destructor Documentation

CLibrarySettingsPage::CLibrarySettingsPage  ) 
 

Definition at line 57 of file PageSettingsLibrary.cpp.

CLibrarySettingsPage::~CLibrarySettingsPage  )  [virtual]
 

Definition at line 70 of file PageSettingsLibrary.cpp.


Member Function Documentation

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

Reimplemented from CSettingsPage.

Definition at line 74 of file PageSettingsLibrary.cpp.

References CSettingsPage::DoDataExchange(), IDC_BROWSE_FILES, IDC_COLLECTIONS_BROWSE, IDC_COLLECTIONS_FOLDER, IDC_HIGH_HASH, IDC_PRIVATE_ADD, IDC_PRIVATE_REMOVE, IDC_PRIVATE_TYPES, IDC_RECENT_DAYS, IDC_RECENT_DAYS_SPIN, IDC_RECENT_TOTAL, IDC_RECENT_TOTAL_SPIN, IDC_SAFE_ADD, IDC_SAFE_REMOVE, IDC_SAFE_TYPES, IDC_STORE_VIEWS, IDC_WATCH_FOLDERS, m_bBrowseFiles, m_bHighPriorityHash, m_bStoreViews, m_bWatchFolders, m_nRecentDays, m_nRecentTotal, m_sCollectionPath, m_wndCollectionPath, m_wndPrivateAdd, m_wndPrivateList, m_wndPrivateRemove, m_wndRecentDays, m_wndRecentTotal, m_wndSafeAdd, m_wndSafeList, and m_wndSafeRemove.

void CLibrarySettingsPage::OnCollectionsBrowse  )  [protected]
 

Definition at line 224 of file PageSettingsLibrary.cpp.

References m_sCollectionPath, and NULL.

void CLibrarySettingsPage::OnEditChangePrivateTypes  )  [protected]
 

Definition at line 189 of file PageSettingsLibrary.cpp.

References m_wndPrivateAdd, and m_wndPrivateList.

void CLibrarySettingsPage::OnEditChangeSafeTypes  )  [protected]
 

Definition at line 156 of file PageSettingsLibrary.cpp.

References m_wndSafeAdd, and m_wndSafeList.

BOOL CLibrarySettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 100 of file PageSettingsLibrary.cpp.

References CSettings::sDownloads::CollectionPath, CSettings::Community, CSettings::Downloads, CSettings::sLibrary::HighPriorityHash, CSettings::sLibrary::HistoryDays, CSettings::sLibrary::HistoryTotal, IDI_BROWSE, CSettings::Library, m_bBrowseFiles, m_bHighPriorityHash, m_bStoreViews, m_bWatchFolders, m_nRecentDays, m_nRecentTotal, m_sCollectionPath, m_wndCollectionPath, m_wndPrivateAdd, m_wndPrivateList, m_wndPrivateRemove, m_wndRecentDays, m_wndRecentTotal, m_wndSafeAdd, m_wndSafeList, m_wndSafeRemove, CSettingsPage::OnInitDialog(), CSettings::sLibrary::PrivateTypes, CSettings::sLibrary::SafeExecute, CSettings::sCommunity::ServeFiles, CIconButtonCtrl::SetIcon(), Settings, CSettings::sLibrary::StoreViews, and CSettings::sLibrary::WatchFolders.

void CLibrarySettingsPage::OnOK  )  [virtual]
 

Reimplemented from CSettingsPage.

Definition at line 252 of file PageSettingsLibrary.cpp.

References CLibraryBuilder::BoostPriority(), CSettings::sDownloads::CollectionPath, CSettings::Community, CSettings::Downloads, CSettings::sLibrary::HighPriorityHash, CSettings::sLibrary::HistoryDays, CSettings::sLibrary::HistoryTotal, CSettings::Library, LibraryBuilder, m_bBrowseFiles, m_bHighPriorityHash, m_bStoreViews, m_bWatchFolders, m_nRecentDays, m_nRecentTotal, m_sCollectionPath, m_wndPrivateList, m_wndSafeList, CSettingsPage::OnOK(), CSettings::sLibrary::PrivateTypes, CSettings::sLibrary::SafeExecute, CSettings::sCommunity::ServeFiles, Settings, CSettings::sLibrary::StoreViews, and CSettings::sLibrary::WatchFolders.

void CLibrarySettingsPage::OnPrivateAdd  )  [protected]
 

Definition at line 194 of file PageSettingsLibrary.cpp.

References m_wndPrivateList.

void CLibrarySettingsPage::OnPrivateRemove  )  [protected]
 

Definition at line 210 of file PageSettingsLibrary.cpp.

References m_wndPrivateList, and m_wndPrivateRemove.

void CLibrarySettingsPage::OnRecentClear  )  [protected]
 

Definition at line 217 of file PageSettingsLibrary.cpp.

References CLibraryHistory::Clear(), Library, LibraryHistory, CLibrary::m_pSection, and CLibrary::Update().

void CLibrarySettingsPage::OnSafeAdd  )  [protected]
 

Definition at line 161 of file PageSettingsLibrary.cpp.

References m_wndSafeList.

void CLibrarySettingsPage::OnSafeRemove  )  [protected]
 

Definition at line 177 of file PageSettingsLibrary.cpp.

References m_wndSafeList, and m_wndSafeRemove.

void CLibrarySettingsPage::OnSelChangePrivateTypes  )  [protected]
 

Definition at line 184 of file PageSettingsLibrary.cpp.

References m_wndPrivateList, and m_wndPrivateRemove.

void CLibrarySettingsPage::OnSelChangeSafeTypes  )  [protected]
 

Definition at line 151 of file PageSettingsLibrary.cpp.

References m_wndSafeList, and m_wndSafeRemove.


Member Data Documentation

BOOL CLibrarySettingsPage::m_bBrowseFiles
 

Definition at line 57 of file PageSettingsLibrary.h.

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

BOOL CLibrarySettingsPage::m_bHighPriorityHash
 

Definition at line 56 of file PageSettingsLibrary.h.

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

BOOL CLibrarySettingsPage::m_bStoreViews
 

Definition at line 55 of file PageSettingsLibrary.h.

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

BOOL CLibrarySettingsPage::m_bWatchFolders
 

Definition at line 52 of file PageSettingsLibrary.h.

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

DWORD CLibrarySettingsPage::m_nRecentDays
 

Definition at line 53 of file PageSettingsLibrary.h.

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

int CLibrarySettingsPage::m_nRecentTotal
 

Definition at line 54 of file PageSettingsLibrary.h.

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

CString CLibrarySettingsPage::m_sCollectionPath
 

Definition at line 59 of file PageSettingsLibrary.h.

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

CIconButtonCtrl CLibrarySettingsPage::m_wndCollectionPath
 

Definition at line 58 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), and OnInitDialog().

CButton CLibrarySettingsPage::m_wndPrivateAdd
 

Definition at line 50 of file PageSettingsLibrary.h.

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

CComboBox CLibrarySettingsPage::m_wndPrivateList
 

Definition at line 51 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), OnEditChangePrivateTypes(), OnInitDialog(), OnOK(), OnPrivateAdd(), OnPrivateRemove(), and OnSelChangePrivateTypes().

CButton CLibrarySettingsPage::m_wndPrivateRemove
 

Definition at line 49 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), OnInitDialog(), OnPrivateRemove(), and OnSelChangePrivateTypes().

CSpinButtonCtrl CLibrarySettingsPage::m_wndRecentDays
 

Definition at line 45 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), and OnInitDialog().

CSpinButtonCtrl CLibrarySettingsPage::m_wndRecentTotal
 

Definition at line 44 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), and OnInitDialog().

CButton CLibrarySettingsPage::m_wndSafeAdd
 

Definition at line 47 of file PageSettingsLibrary.h.

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

CComboBox CLibrarySettingsPage::m_wndSafeList
 

Definition at line 48 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), OnEditChangeSafeTypes(), OnInitDialog(), OnOK(), OnSafeAdd(), OnSafeRemove(), and OnSelChangeSafeTypes().

CButton CLibrarySettingsPage::m_wndSafeRemove
 

Definition at line 46 of file PageSettingsLibrary.h.

Referenced by DoDataExchange(), OnInitDialog(), OnSafeRemove(), and OnSelChangeSafeTypes().


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