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

CPlugin Class Reference

#include <Plugins.h>

List of all members.

Public Member Functions

 CPlugin (REFCLSID pCLSID, LPCTSTR pszName)
virtual ~CPlugin ()
BOOL Start ()
void Stop ()
BOOL StartIfEnabled ()
CString GetStringCLSID () const

Public Attributes

CLSID m_pCLSID
CString m_sName
HICON m_hIcon
DWORD m_nCapabilities
IGeneralPluginm_pPlugin
ICommandPluginm_pCommand
IExecutePluginm_pExecute

Protected Member Functions

HICON LookupIcon ()


Constructor & Destructor Documentation

CPlugin::CPlugin REFCLSID  pCLSID,
LPCTSTR  pszName
 

Definition at line 307 of file Plugins.cpp.

References LookupIcon(), m_hIcon, m_pCLSID, m_pCommand, m_pExecute, m_pPlugin, m_sName, and NULL.

CPlugin::~CPlugin  )  [virtual]
 

Definition at line 318 of file Plugins.cpp.

References m_hIcon, NULL, and Stop().


Member Function Documentation

CString CPlugin::GetStringCLSID  )  const
 

Definition at line 385 of file Plugins.cpp.

References GUIDX::Encode(), and m_pCLSID.

Referenced by CPluginsSettingsPage::EnumerateGenericPlugins(), and LookupIcon().

HICON CPlugin::LookupIcon  )  [protected]
 

Definition at line 393 of file Plugins.cpp.

References GetStringCLSID(), and NULL.

Referenced by CPlugin().

BOOL CPlugin::Start  ) 
 

Definition at line 327 of file Plugins.cpp.

References Application, CComObject::GetInterface(), m_nCapabilities, m_pCLSID, m_pCommand, m_pExecute, m_pPlugin, and NULL.

Referenced by CPluginsSettingsPage::OnOK(), and StartIfEnabled().

BOOL CPlugin::StartIfEnabled  ) 
 

Definition at line 374 of file Plugins.cpp.

References CPlugins::LookupEnable(), m_pCLSID, and Start().

Referenced by CPlugins::Enumerate().

void CPlugin::Stop  ) 
 

Definition at line 353 of file Plugins.cpp.

References m_pCommand, m_pPlugin, and NULL.

Referenced by CPluginsSettingsPage::OnOK(), and ~CPlugin().


Member Data Documentation

HICON CPlugin::m_hIcon
 

Definition at line 89 of file Plugins.h.

Referenced by CPlugin(), CPluginsSettingsPage::EnumerateGenericPlugins(), and ~CPlugin().

DWORD CPlugin::m_nCapabilities
 

Definition at line 90 of file Plugins.h.

Referenced by Start().

CLSID CPlugin::m_pCLSID
 

Definition at line 87 of file Plugins.h.

Referenced by CPlugin(), GetStringCLSID(), Start(), and StartIfEnabled().

ICommandPlugin* CPlugin::m_pCommand
 

Definition at line 93 of file Plugins.h.

Referenced by CPlugin(), CPlugins::OnCommand(), CPlugins::OnSkinChanged(), CPlugins::OnUpdate(), CPlugins::RegisterCommands(), Start(), and Stop().

IExecutePlugin* CPlugin::m_pExecute
 

Definition at line 94 of file Plugins.h.

Referenced by CPlugin(), CPlugins::OnEnqueueFile(), CPlugins::OnExecuteFile(), and Start().

IGeneralPlugin* CPlugin::m_pPlugin
 

Definition at line 92 of file Plugins.h.

Referenced by CPlugin(), CPluginsSettingsPage::EnumerateGenericPlugins(), CPluginsSettingsPage::OnItemChangedPlugins(), CPluginsSettingsPage::OnOK(), CPluginsSettingsPage::OnPluginsSetup(), CPlugins::OnSkinChanged(), Start(), and Stop().

CString CPlugin::m_sName
 

Definition at line 88 of file Plugins.h.

Referenced by CPlugin(), and CPluginsSettingsPage::EnumerateGenericPlugins().


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