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

CLibraryCollectionView Class Reference

#include <CtrlLibraryCollectionView.h>

Inheritance diagram for CLibraryCollectionView:

CLibraryFileView CLibraryView List of all members.

Public Member Functions

 CLibraryCollectionView ()
virtual ~CLibraryCollectionView ()
virtual BOOL CheckAvailable (CLibraryTreeItem *pSel)
virtual void Update ()

Protected Member Functions

virtual DWORD HitTestIndex (const CPoint &point) const
BOOL ShowCollection (CLibraryFile *pFile)
afx_msg int OnCreate (LPCREATESTRUCT lpCreateStruct)
afx_msg void OnDestroy ()
afx_msg void OnSize (UINT nType, int cx, int cy)
afx_msg void OnWebContextMenu (NMHDR *pNMHDR, LPARAM *pResult)
afx_msg void OnUpdateLibraryFolderDownload (CCmdUI *pCmdUI)
afx_msg void OnLibraryFolderDownload ()

Protected Attributes

CWebCtrlm_pWebCtrl
DWORD m_nWebIndex
CCollectionFilem_pCollection
SHA1 m_pSHA1
CLibraryCollectionView::External m_xExternal

Classes

class  External

Constructor & Destructor Documentation

CLibraryCollectionView::CLibraryCollectionView  ) 
 

Definition at line 65 of file CtrlLibraryCollectionView.cpp.

References ID_LIBRARY_VIEW_COLLECTION, and NULL.

CLibraryCollectionView::~CLibraryCollectionView  )  [virtual]
 

Definition at line 77 of file CtrlLibraryCollectionView.cpp.

References m_pCollection.


Member Function Documentation

BOOL CLibraryCollectionView::CheckAvailable CLibraryTreeItem pSel  )  [virtual]
 

Reimplemented from CLibraryFileView.

Definition at line 85 of file CtrlLibraryCollectionView.cpp.

References CLibraryView::GetSelectedAlbum(), Library, LibraryMaps, CLibraryMaps::LookupFileBySHA1(), CLibraryView::m_bAvailable, CLibraryCollectionView::External::m_bLockdown, CLibrary::m_pSection, m_xExternal, and CLibrary::Update().

virtual DWORD CLibraryCollectionView::HitTestIndex const CPoint &  point  )  const [inline, protected, virtual]
 

Implements CLibraryFileView.

Definition at line 52 of file CtrlLibraryCollectionView.h.

int CLibraryCollectionView::OnCreate LPCREATESTRUCT  lpCreateStruct  )  [protected]
 

Reimplemented from CLibraryFileView.

Definition at line 165 of file CtrlLibraryCollectionView.cpp.

References CWebCtrl::Create(), CWebCtrl::EnableCoolMenu(), CWebCtrl::EnableSandbox(), CComObject::GetDispatch(), m_pWebCtrl, m_xExternal, CWebCtrl::Navigate(), NULL, CLibraryFileView::OnCreate(), and CWebCtrl::SetExternal().

void CLibraryCollectionView::OnDestroy  )  [protected]
 

Definition at line 188 of file CtrlLibraryCollectionView.cpp.

References CCollectionFile::Close(), IEProtocol, m_pCollection, m_pWebCtrl, NULL, and CIEProtocol::SetCollection().

void CLibraryCollectionView::OnLibraryFolderDownload  )  [protected]
 

Definition at line 242 of file CtrlLibraryCollectionView.cpp.

References CNetwork::Connect(), CCollectionFile::File::Download(), CCollectionFile::GetFileIterator(), CCollectionFile::GetNextFile(), CNetwork::IsWellConnected(), m_pCollection, Network, and CLibraryView::PostUpdate().

void CLibraryCollectionView::OnSize UINT  nType,
int  cx,
int  cy
[protected]
 

Definition at line 203 of file CtrlLibraryCollectionView.cpp.

References m_pWebCtrl, and NULL.

void CLibraryCollectionView::OnUpdateLibraryFolderDownload CCmdUI *  pCmdUI  )  [protected]
 

Definition at line 237 of file CtrlLibraryCollectionView.cpp.

References CCollectionFile::GetMissingCount(), and m_pCollection.

void CLibraryCollectionView::OnWebContextMenu NMHDR *  pNMHDR,
LPARAM *  pResult
[protected]
 

Definition at line 213 of file CtrlLibraryCollectionView.cpp.

References CLibraryView::GetFrame(), CLibraryView::GetToolTip(), ID_LIBRARY_LAUNCH, CSettings::Library, m_nWebIndex, WVNCONTEXTMENU::ptMouse, CLibraryView::SelAdd(), CLibraryView::SelClear(), Settings, CSettings::sLibrary::ShowVirtual, Skin, and CSkin::TrackPopupMenu().

BOOL CLibraryCollectionView::ShowCollection CLibraryFile pFile  )  [protected]
 

Definition at line 132 of file CtrlLibraryCollectionView.cpp.

References CCollectionFile::Close(), CLibraryFile::GetPath(), CSHA::HashToString(), IEProtocol, CCollectionFile::IsOpen(), m_pCollection, CLibraryFile::m_pSHA1, m_pSHA1, m_pWebCtrl, CWebCtrl::Navigate(), NULL, CCollectionFile::Open(), and CIEProtocol::SetCollection().

Referenced by Update().

void CLibraryCollectionView::Update  )  [virtual]
 

Reimplemented from CLibraryView.

Definition at line 115 of file CtrlLibraryCollectionView.cpp.

References CLibraryView::GetSelectedAlbum(), LibraryMaps, CLibraryMaps::LookupFileBySHA1(), m_pWebCtrl, NULL, and ShowCollection().


Member Data Documentation

DWORD CLibraryCollectionView::m_nWebIndex [protected]
 

Definition at line 43 of file CtrlLibraryCollectionView.h.

Referenced by OnWebContextMenu().

CCollectionFile* CLibraryCollectionView::m_pCollection [protected]
 

Definition at line 44 of file CtrlLibraryCollectionView.h.

Referenced by OnDestroy(), OnLibraryFolderDownload(), OnUpdateLibraryFolderDownload(), ShowCollection(), and ~CLibraryCollectionView().

SHA1 CLibraryCollectionView::m_pSHA1 [protected]
 

Definition at line 45 of file CtrlLibraryCollectionView.h.

Referenced by ShowCollection().

CWebCtrl* CLibraryCollectionView::m_pWebCtrl [protected]
 

Definition at line 42 of file CtrlLibraryCollectionView.h.

Referenced by OnCreate(), OnDestroy(), OnSize(), ShowCollection(), and Update().

CLibraryCollectionView::External CLibraryCollectionView::m_xExternal [protected]
 

Referenced by CheckAvailable(), and OnCreate().


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