#include <LibraryFolders.h>
Inheritance diagram for CLibraryFolders:
Public Member Functions | |
CLibraryFolders () | |
virtual | ~CLibraryFolders () |
POSITION | GetFolderIterator () const |
CLibraryFolder * | GetNextFolder (POSITION &pos) const |
int | GetFolderCount () const |
CLibraryFolder * | GetFolder (LPCTSTR pszPath) const |
BOOL | CheckFolder (CLibraryFolder *pFolder, BOOL bRecursive=FALSE) const |
CLibraryFolder * | AddFolder (LPCTSTR pszPath) |
CLibraryFolder * | AddFolder (LPCTSTR pszPath, BOOL bShared) |
BOOL | RemoveFolder (CLibraryFolder *pFolder) |
CLibraryFolder * | IsFolderShared (LPCTSTR pszPath) |
CLibraryFolder * | IsSubFolderShared (LPCTSTR pszPath) |
CAlbumFolder * | GetAlbumRoot () |
BOOL | CheckAlbum (CAlbumFolder *pFolder) const |
CAlbumFolder * | GetAlbumTarget (LPCTSTR pszSchemaURI, LPCTSTR pszMember, LPCTSTR pszValue) const |
CAlbumFolder * | GetCollection (SHA1 *pSHA1) |
BOOL | MountCollection (SHA1 *pSHA1, CCollectionFile *pCollection) |
Static Public Member Functions | |
static BOOL | IsShareable (LPCTSTR pszPath) |
Protected Member Functions | |
void | CreateAlbumTree () |
void | OnFileDelete (CLibraryFile *pFile) |
void | Clear () |
BOOL | ThreadScan (BOOL *pbContinue, BOOL bForce=FALSE) |
void | Serialize (CArchive &ar, int nVersion) |
Protected Attributes | |
CObList | m_pFolders |
CAlbumFolder * | m_pAlbumRoot |
BOOL | m_bRemoveMask |
STDMETHOD( | get_Application )(IApplication FAR *FAR *ppApplication) |
STDMETHOD( | get_Library )(ILibrary FAR *FAR *ppLibrary) |
STDMETHOD( | get__NewEnum )(IUnknown FAR *FAR *ppEnum) |
STDMETHOD( | get_Item )(VARIANT vIndex, ILibraryFolder FAR *FAR *ppFolder) |
STDMETHOD( | get_Count )(LONG FAR *pnCount) |
Friends | |
class | CLibrary |
|
Definition at line 51 of file LibraryFolders.cpp. References NULL. |
|
Definition at line 59 of file LibraryFolders.cpp. References m_pAlbumRoot, and NULL. |
|
Definition at line 150 of file LibraryFolders.cpp. References AddFolder(), CLibraryFolder::m_bShared, TS_FALSE, and TS_TRUE. |
|
|
|
|
Definition at line 480 of file LibraryFolders.cpp. References GetFolderIterator(), GetNextFolder(), m_pAlbumRoot, m_pFolders, and NULL. Referenced by CLibrary::Clear(). |
|
|
Definition at line 314 of file LibraryFolders.cpp. References m_pAlbumRoot, NULL, and CSchema::uriLibrary. Referenced by CreateAlbumTree(), CLibrary::GetAlbumRoot(), GetCollection(), MountCollection(), and Serialize(). |
|
Definition at line 333 of file LibraryFolders.cpp. References CSchemaCache::Get(), CSchema::GetMember(), CSchema::GetMemberCount(), CSchema::GetMemberIterator(), CSchema::GetNextMember(), CAlbumFolder::GetTarget(), m_pAlbumRoot, NULL, SchemaCache, and CXMLNode::UniformString(). Referenced by CMetaItem::CreateLink(), CMetaItem::GetLinkTarget(), MountCollection(), and CFilesProfilePage::OnInitDialog(). |
|
Definition at line 364 of file LibraryFolders.cpp. References GetAlbumRoot(). Referenced by CLibraryWnd::OnCollection(). |
|
Definition at line 85 of file LibraryFolders.cpp. References GetFolderIterator(), GetNextFolder(), and NULL. Referenced by CLibraryWnd::OnCollection(), CFileCopyDlg::OnInitDialog(), and CLibraryMetaPanel::OnLButtonUp(). |
|
Definition at line 77 of file LibraryFolders.cpp. References m_pFolders. Referenced by CDownloadsSettingsPage::OnOK(), and Serialize(). |
|
Definition at line 67 of file LibraryFolders.cpp. References m_pFolders. Referenced by AddFolder(), CheckFolder(), Clear(), CLocalSearch::FoldersToPacket(), GetFolder(), IsFolderShared(), IsSubFolderShared(), CWizardSharePage::OnInitDialog(), CShareManagerDlg::OnInitDialog(), CShareManagerDlg::OnOK(), CWizardSharePage::OnWizardNext(), Serialize(), ThreadScan(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::UpdatePhysical(). |
|
Definition at line 72 of file LibraryFolders.cpp. References m_pFolders. Referenced by AddFolder(), CheckFolder(), Clear(), CLocalSearch::FoldersToPacket(), GetFolder(), IsFolderShared(), IsSubFolderShared(), CWizardSharePage::OnInitDialog(), CShareManagerDlg::OnInitDialog(), CShareManagerDlg::OnOK(), CWizardSharePage::OnWizardNext(), Serialize(), ThreadScan(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::UpdatePhysical(). |
|
Definition at line 189 of file LibraryFolders.cpp. References GetFolderIterator(), GetNextFolder(), CLibraryFolder::m_sPath, and NULL. Referenced by AddFolder(), CDownloadsSettingsPage::OnIncompleteBrowse(), CDownloadsSettingsPage::OnOK(), and CDownloadGroupDlg::OnOK(). |
|
Definition at line 251 of file LibraryFolders.cpp. References CSettings::Downloads, CSettings::General, CSettings::sDownloads::IncompletePath, NULL, CSettings::sGeneral::Path, Settings, and CSettings::sGeneral::UserPath. Referenced by CDownloadGroupDlg::OnOK(), and CShareManagerDlg::OnShareAdd(). |
|
Definition at line 222 of file LibraryFolders.cpp. References GetFolderIterator(), GetNextFolder(), CLibraryFolder::m_sPath, and NULL. Referenced by AddFolder(), and CDownloadGroupDlg::OnOK(). |
|
Definition at line 372 of file LibraryFolders.cpp. References GetAlbumRoot(), GetAlbumTarget(), CCollectionFile::GetParentURI(), CCollectionFile::GetThisURI(), Library, CLibrary::m_pSection, and NULL. Referenced by CLibraryWnd::OnCollection(), and CLibraryBuilderInternals::ReadCollection(). |
|
Definition at line 472 of file LibraryFolders.cpp. References m_pAlbumRoot, NULL, and CAlbumFolder::OnFileDelete(). Referenced by CLibrary::OnFileDelete(). |
|
Definition at line 168 of file LibraryFolders.cpp. References Library, m_bRemoveMask, m_pFolders, CLibrary::m_pSection, NULL, and CLibrary::Update(). Referenced by CLibraryTreeView::OnLibraryRemove(), CShareManagerDlg::OnOK(), CDownloadGroupDlg::OnOK(), and CWizardSharePage::OnWizardNext(). |
|
Definition at line 531 of file LibraryFolders.cpp. References GetAlbumRoot(), GetFolderCount(), GetFolderIterator(), GetNextFolder(), m_pFolders, NULL, and CLibraryFolder::Serialize(). Referenced by CLibrary::Serialize(). |
|
Definition at line 496 of file LibraryFolders.cpp. References CLibraryFolder::CheckMonitor(), GetFolderIterator(), GetNextFolder(), Library, m_bRemoveMask, CLibrary::m_pSection, CLibraryFolder::m_sPath, CLibraryFolder::SetMonitor(), and CLibraryFolder::ThreadScan(). Referenced by CLibrary::ThreadScan(). |
|
Definition at line 91 of file LibraryFolders.h. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 44 of file LibraryFolders.h. Referenced by RemoveFolder(), and ThreadScan(). |
|
Definition at line 43 of file LibraryFolders.h. Referenced by CheckAlbum(), Clear(), CreateAlbumTree(), GetAlbumRoot(), GetAlbumTarget(), OnFileDelete(), and ~CLibraryFolders(). |
|
Definition at line 42 of file LibraryFolders.h. Referenced by AddFolder(), CheckFolder(), Clear(), GetFolderCount(), GetFolderIterator(), GetNextFolder(), RemoveFolder(), and Serialize(). |