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

CPluginsSettingsPage Class Reference

#include <PageSettingsPlugins.h>

Inheritance diagram for CPluginsSettingsPage:

CSettingsPage List of all members.

Public Types

enum  { IDD = IDD_SETTINGS_PLUGINS }

Public Member Functions

 CPluginsSettingsPage ()
virtual ~CPluginsSettingsPage ()

Public Attributes

CButton m_wndSetup
CEdit m_wndDesc
CStatic m_wndName
CListCtrl m_wndList

Protected Member Functions

void InsertPlugin (LPCTSTR pszCLSID, LPCTSTR pszName, int nImage, TRISTATE bEnabled, LPVOID pPlugin=NULL)
void EnumerateGenericPlugins ()
void EnumerateMiscPlugins ()
void EnumerateMiscPlugins (LPCTSTR pszType, HKEY hRoot)
void AddMiscPlugin (LPCTSTR pszType, LPCTSTR pszCLSID)
virtual void DoDataExchange (CDataExchange *pDX)
virtual void OnOK ()
virtual BOOL OnInitDialog ()
afx_msg void OnItemChangingPlugins (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnItemChangedPlugins (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnCustomDrawPlugins (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnPluginsSetup ()
afx_msg void OnPluginsWeb ()

Protected Attributes

CImageList m_gdiImageList
BOOL m_bRunning

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 42 of file PageSettingsPlugins.h.


Constructor & Destructor Documentation

CPluginsSettingsPage::CPluginsSettingsPage  ) 
 

Definition at line 50 of file PageSettingsPlugins.cpp.

CPluginsSettingsPage::~CPluginsSettingsPage  )  [virtual]
 

Definition at line 56 of file PageSettingsPlugins.cpp.


Member Function Documentation

void CPluginsSettingsPage::AddMiscPlugin LPCTSTR  pszType,
LPCTSTR  pszCLSID
[protected]
 

Definition at line 312 of file PageSettingsPlugins.cpp.

References GUIDX::Decode(), InsertPlugin(), CPlugins::LookupEnable(), NULL, Plugins, TS_FALSE, TS_TRUE, and TS_UNKNOWN.

Referenced by EnumerateMiscPlugins().

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

Reimplemented from CSettingsPage.

Definition at line 60 of file PageSettingsPlugins.cpp.

References CSettingsPage::DoDataExchange(), IDC_PLUGINS, IDC_PLUGINS_SETUP, IDC_SKIN_DESC, IDC_SKIN_NAME, m_wndDesc, m_wndList, m_wndName, and m_wndSetup.

void CPluginsSettingsPage::EnumerateGenericPlugins  )  [protected]
 

Definition at line 240 of file PageSettingsPlugins.cpp.

References CreateMirroredIcon(), CPlugins::Enumerate(), CPlugins::GetIterator(), CPlugins::GetNext(), CPlugin::GetStringCLSID(), InsertPlugin(), CShareazaApp::m_bRTL, m_gdiImageList, CPlugin::m_hIcon, CPlugin::m_pPlugin, CPlugin::m_sName, NULL, Plugins, theApp, TS_FALSE, and TS_TRUE.

Referenced by OnInitDialog().

void CPluginsSettingsPage::EnumerateMiscPlugins LPCTSTR  pszType,
HKEY  hRoot
[protected]
 

Definition at line 289 of file PageSettingsPlugins.cpp.

References AddMiscPlugin(), and NULL.

void CPluginsSettingsPage::EnumerateMiscPlugins  )  [protected]
 

Definition at line 258 of file PageSettingsPlugins.cpp.

References NULL.

Referenced by OnInitDialog().

void CPluginsSettingsPage::InsertPlugin LPCTSTR  pszCLSID,
LPCTSTR  pszName,
int  nImage,
TRISTATE  bEnabled,
LPVOID  pPlugin = NULL
[protected]
 

Definition at line 216 of file PageSettingsPlugins.cpp.

References m_wndList, NULL, and TS_UNKNOWN.

Referenced by AddMiscPlugin(), and EnumerateGenericPlugins().

void CPluginsSettingsPage::OnCustomDrawPlugins NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 142 of file PageSettingsPlugins.cpp.

BOOL CPluginsSettingsPage::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 74 of file PageSettingsPlugins.cpp.

References CreateMirroredIcon(), EnumerateGenericPlugins(), EnumerateMiscPlugins(), IDI_EXECUTABLE, IDI_FILE, CShareazaApp::m_bRTL, m_bRunning, m_gdiImageList, m_wndList, m_wndSetup, CSettingsPage::OnInitDialog(), and theApp.

void CPluginsSettingsPage::OnItemChangedPlugins NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 123 of file PageSettingsPlugins.cpp.

References CPlugin::m_pPlugin, m_wndList, m_wndName, m_wndSetup, and NULL.

void CPluginsSettingsPage::OnItemChangingPlugins NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 111 of file PageSettingsPlugins.cpp.

References m_bRunning.

void CPluginsSettingsPage::OnOK  )  [protected, virtual]
 

Reimplemented from CSettingsPage.

Definition at line 181 of file PageSettingsPlugins.cpp.

References CPlugin::m_pPlugin, m_wndList, NULL, CSettingsPage::OnOK(), CPlugin::Start(), CPlugin::Stop(), theApp, TS_TRUE, TS_UNKNOWN, and WM_SKINCHANGED.

void CPluginsSettingsPage::OnPluginsSetup  )  [protected]
 

Definition at line 164 of file PageSettingsPlugins.cpp.

References CPlugin::m_pPlugin, m_wndList, and NULL.

void CPluginsSettingsPage::OnPluginsWeb  )  [protected]
 

Definition at line 174 of file PageSettingsPlugins.cpp.

References CShareazaApp::m_sVersion, NULL, and theApp.


Member Data Documentation

BOOL CPluginsSettingsPage::m_bRunning [protected]
 

Definition at line 51 of file PageSettingsPlugins.h.

Referenced by OnInitDialog(), and OnItemChangingPlugins().

CImageList CPluginsSettingsPage::m_gdiImageList [protected]
 

Definition at line 50 of file PageSettingsPlugins.h.

Referenced by EnumerateGenericPlugins(), and OnInitDialog().

CEdit CPluginsSettingsPage::m_wndDesc
 

Definition at line 44 of file PageSettingsPlugins.h.

Referenced by DoDataExchange().

CListCtrl CPluginsSettingsPage::m_wndList
 

Definition at line 46 of file PageSettingsPlugins.h.

Referenced by DoDataExchange(), InsertPlugin(), OnInitDialog(), OnItemChangedPlugins(), OnOK(), and OnPluginsSetup().

CStatic CPluginsSettingsPage::m_wndName
 

Definition at line 45 of file PageSettingsPlugins.h.

Referenced by DoDataExchange(), and OnItemChangedPlugins().

CButton CPluginsSettingsPage::m_wndSetup
 

Definition at line 43 of file PageSettingsPlugins.h.

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


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