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

CMediaVisDlg Class Reference

#include <DlgMediaVis.h>

Inheritance diagram for CMediaVisDlg:

CSkinDialog List of all members.

Public Types

enum  { IDD = IDD_MEDIA_VIS }

Public Member Functions

 CMediaVisDlg (CMediaFrame *pFrame)
virtual ~CMediaVisDlg ()

Public Attributes

CButton m_wndSetup
CListCtrl m_wndList
int m_nSize

Protected Member Functions

void Enumerate ()
void AddPlugin (LPCTSTR pszName, LPCTSTR pszCLSID, LPCTSTR pszPath)
BOOL EnumerateWrapped (LPCTSTR pszName, REFCLSID pCLSID, LPCTSTR pszCLSID)
virtual void DoDataExchange (CDataExchange *pDX)
virtual BOOL OnInitDialog ()
virtual void OnOK ()
afx_msg void OnDblClkPlugins (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnItemChangedPlugins (NMHDR *pNMHDR, LRESULT *pResult)
afx_msg void OnSetup ()

Protected Attributes

CMediaFramem_pFrame
DWORD m_nIcon
HICON m_hIcon

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
IDD 

Definition at line 44 of file DlgMediaVis.h.


Constructor & Destructor Documentation

CMediaVisDlg::CMediaVisDlg CMediaFrame pFrame  ) 
 

Definition at line 50 of file DlgMediaVis.cpp.

CMediaVisDlg::~CMediaVisDlg  )  [virtual]
 

Definition at line 59 of file DlgMediaVis.cpp.

References m_hIcon.


Member Function Documentation

void CMediaVisDlg::AddPlugin LPCTSTR  pszName,
LPCTSTR  pszCLSID,
LPCTSTR  pszPath
[protected]
 

Definition at line 153 of file DlgMediaVis.cpp.

References m_nIcon, m_wndList, CSettings::MediaPlayer, NULL, Settings, CSettings::sMediaPlayer::VisCLSID, and CSettings::sMediaPlayer::VisPath.

Referenced by Enumerate(), EnumerateWrapped(), and OnInitDialog().

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

Reimplemented from CSkinDialog.

Definition at line 64 of file DlgMediaVis.cpp.

References CSkinDialog::DoDataExchange(), IDC_PLUGINS, IDC_SETUP, IDC_VIS_SIZE, m_nSize, m_wndList, and m_wndSetup.

void CMediaVisDlg::Enumerate  )  [protected]
 

Definition at line 113 of file DlgMediaVis.cpp.

References _tcsistr(), AddPlugin(), GUIDX::Decode(), EnumerateWrapped(), CPlugins::LookupEnable(), NULL, and Plugins.

Referenced by OnInitDialog().

BOOL CMediaVisDlg::EnumerateWrapped LPCTSTR  pszName,
REFCLSID  pCLSID,
LPCTSTR  pszCLSID
[protected]
 

Definition at line 171 of file DlgMediaVis.cpp.

References AddPlugin(), and NULL.

Referenced by Enumerate().

void CMediaVisDlg::OnDblClkPlugins NMHDR *  pNMHDR,
LRESULT *  pResult
[protected]
 

Definition at line 228 of file DlgMediaVis.cpp.

BOOL CMediaVisDlg::OnInitDialog  )  [protected, virtual]
 

Reimplemented from CSkinDialog.

Definition at line 77 of file DlgMediaVis.cpp.

References AddPlugin(), CoolInterface, Enumerate(), CCoolInterface::ExtractIcon(), ID_MEDIA_VIS, IDS_MEDIAVIS_NOVIS, CCoolInterface::ImageForID(), LoadString(), m_hIcon, m_nIcon, m_nSize, CCoolInterface::m_pImages, m_wndList, m_wndSetup, CSettings::MediaPlayer, NULL, CSkinDialog::OnInitDialog(), Settings, CSkinDialog::SkinMe(), and CSettings::sMediaPlayer::VisSize.

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

Definition at line 234 of file DlgMediaVis.cpp.

References m_wndList, and m_wndSetup.

void CMediaVisDlg::OnOK  )  [protected, virtual]
 

Definition at line 298 of file DlgMediaVis.cpp.

References m_nSize, m_wndList, CSettings::MediaPlayer, CSettings::Save(), Settings, CSettings::sMediaPlayer::VisCLSID, CSettings::sMediaPlayer::VisPath, and CSettings::sMediaPlayer::VisSize.

void CMediaVisDlg::OnSetup  )  [protected]
 

Definition at line 240 of file DlgMediaVis.cpp.

References GUIDX::Decode(), CMediaFrame::GetPlayer(), CPlugins::LookupEnable(), m_pFrame, m_wndList, CSettings::MediaPlayer, NULL, Plugins, Settings, CSettings::sMediaPlayer::VisCLSID, and CSettings::sMediaPlayer::VisPath.


Member Data Documentation

HICON CMediaVisDlg::m_hIcon [protected]
 

Definition at line 54 of file DlgMediaVis.h.

Referenced by OnInitDialog(), and ~CMediaVisDlg().

DWORD CMediaVisDlg::m_nIcon [protected]
 

Definition at line 53 of file DlgMediaVis.h.

Referenced by AddPlugin(), and OnInitDialog().

int CMediaVisDlg::m_nSize
 

Definition at line 47 of file DlgMediaVis.h.

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

CMediaFrame* CMediaVisDlg::m_pFrame [protected]
 

Definition at line 52 of file DlgMediaVis.h.

Referenced by OnSetup().

CListCtrl CMediaVisDlg::m_wndList
 

Definition at line 46 of file DlgMediaVis.h.

Referenced by AddPlugin(), DoDataExchange(), OnInitDialog(), OnItemChangedPlugins(), OnOK(), and OnSetup().

CButton CMediaVisDlg::m_wndSetup
 

Definition at line 45 of file DlgMediaVis.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