#include <SharedFolder.h>
Inheritance diagram for CLibraryFolder:
Public Member Functions | |
CLibraryFolder (CLibraryFolder *pParent, LPCTSTR pszPath=NULL) | |
virtual | ~CLibraryFolder () |
POSITION | GetFolderIterator () const |
CLibraryFolder * | GetNextFolder (POSITION &pos) const |
CLibraryFolder * | GetFolderByName (LPCTSTR pszName) const |
CLibraryFolder * | GetFolderByPath (LPCTSTR pszPath) const |
BOOL | CheckFolder (CLibraryFolder *pFolder, BOOL bRecursive=FALSE) const |
int | GetFolderCount () const |
POSITION | GetFileIterator () const |
CLibraryFile * | GetNextFile (POSITION &pos) const |
CLibraryFile * | GetFile (LPCTSTR pszName) const |
int | GetFileCount () const |
int | GetFileList (CLibraryList *pList, BOOL bRecursive) const |
int | GetSharedCount () const |
void | Scan () |
BOOL | IsShared () |
Public Attributes | |
DWORD | m_nScanCookie |
DWORD | m_nUpdateCookie |
DWORD | m_nSelectCookie |
CLibraryFolder * | m_pParent |
CString | m_sName |
CString | m_sNameLC |
CString | m_sPath |
TRISTATE | m_bShared |
BOOL | m_bExpanded |
DWORD | m_nFiles |
QWORD | m_nVolume |
CMapStringToOb | m_pFolders |
CMapStringToOb | m_pFiles |
HANDLE | m_hMonitor |
BOOL | m_bMonitor |
Protected Member Functions | |
void | Serialize (CArchive &ar, int nVersion) |
BOOL | ThreadScan (DWORD nScanCookie=0) |
BOOL | SetMonitor () |
BOOL | CheckMonitor () |
void | OnDelete () |
void | OnFileRename (CLibraryFile *pFile) |
void | Clear () |
void | PathToName () |
Protected Attributes | |
STDMETHOD( | get_Application )(IApplication FAR *FAR *ppApplication) |
STDMETHOD( | get_Library )(ILibrary FAR *FAR *ppLibrary) |
STDMETHOD( | get_Parent )(ILibraryFolder FAR *FAR *ppFolder) |
STDMETHOD( | get_Path )(BSTR FAR *psPath) |
STDMETHOD( | get_Name )(BSTR FAR *psPath) |
STDMETHOD( | get_Shared )(STRISTATE FAR *pnValue) |
STDMETHOD( | put_Shared )(STRISTATE nValue) |
STDMETHOD( | get_EffectiveShared )(VARIANT_BOOL FAR *pbValue) |
STDMETHOD( | get_Folders )(ILibraryFolders FAR *FAR *ppFolders) |
STDMETHOD( | get_Files )(ILibraryFiles FAR *FAR *ppFiles) |
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 |
class | CLibraryFolders |
class | CLibraryFile |
|
Definition at line 48 of file SharedFolder.cpp. References TS_TRUE, and TS_UNKNOWN. Referenced by Serialize(), and ThreadScan(). |
|
Definition at line 75 of file SharedFolder.cpp. References Clear(), and m_hMonitor. |
|
Definition at line 120 of file SharedFolder.cpp. References CheckFolder(), GetFolderIterator(), and GetNextFolder(). Referenced by CheckFolder(), CLibraryFolderCtrl::GetNextSelectedFolder(), and CLibraryFolderCtrl::Update(). |
|
Definition at line 512 of file SharedFolder.cpp. References m_bMonitor, and m_hMonitor. Referenced by CLibraryFolders::ThreadScan(). |
|
Definition at line 209 of file SharedFolder.cpp. References GetFileIterator(), GetFolderIterator(), GetNextFile(), GetNextFolder(), m_nFiles, m_nVolume, m_pFiles, and m_pFolders. Referenced by Serialize(), and ~CLibraryFolder(). |
|
Definition at line 153 of file SharedFolder.cpp. References m_pFiles, and NULL. Referenced by ThreadScan(). |
|
Definition at line 162 of file SharedFolder.cpp. References m_pFiles. Referenced by Serialize(). |
|
Definition at line 140 of file SharedFolder.cpp. References m_pFiles. Referenced by Clear(), GetFileList(), GetSharedCount(), OnDelete(), Serialize(), and ThreadScan(). |
|
Definition at line 167 of file SharedFolder.cpp. References CLibraryList::CheckAndAdd(), GetFileIterator(), GetFolderIterator(), GetNextFile(), and GetNextFolder(). Referenced by CLibraryTreeItem::GetFileList(). |
|
Definition at line 98 of file SharedFolder.cpp. References m_pFolders, and NULL. Referenced by ThreadScan(). |
|
Definition at line 107 of file SharedFolder.cpp. References GetFolderIterator(), GetNextFolder(), m_sPath, and NULL. |
|
Definition at line 132 of file SharedFolder.cpp. References m_pFolders. Referenced by Serialize(). |
|
Definition at line 85 of file SharedFolder.cpp. References m_pFolders. Referenced by CheckFolder(), Clear(), GetFileList(), GetFolderByPath(), GetSharedCount(), OnDelete(), Serialize(), ThreadScan(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::Update(). |
|
Definition at line 145 of file SharedFolder.cpp. References m_pFiles, and NULL. Referenced by Clear(), GetFileList(), GetSharedCount(), OnDelete(), Serialize(), and ThreadScan(). |
|
Definition at line 90 of file SharedFolder.cpp. References m_pFolders, and NULL. Referenced by CheckFolder(), Clear(), GetFileList(), GetFolderByPath(), GetSharedCount(), OnDelete(), Serialize(), ThreadScan(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::Update(). |
|
Definition at line 188 of file SharedFolder.cpp. References GetFileIterator(), GetFolderIterator(), GetNextFile(), GetNextFolder(), and CLibraryFile::IsShared(). |
|
Definition at line 543 of file SharedFolder.cpp. References TS_FALSE, and TS_TRUE. Referenced by CLibraryFolderCtrl::Update(). |
|
Definition at line 560 of file SharedFolder.cpp. References GetFileIterator(), GetFolderIterator(), GetNextFile(), GetNextFolder(), m_pFiles, and m_pFolders. Referenced by ThreadScan(). |
|
Definition at line 578 of file SharedFolder.cpp. References CLibraryFile::GetNameLC(), m_pFiles, and NULL. |
|
Definition at line 298 of file SharedFolder.cpp. References m_sName, m_sNameLC, and m_sPath. Referenced by Serialize(), and ThreadScan(). |
|
Definition at line 532 of file SharedFolder.cpp. References Library, m_bMonitor, m_pParent, and CLibrary::m_pWakeup. Referenced by CLibraryWnd::OnCollection(). |
|
Definition at line 231 of file SharedFolder.cpp. References Clear(), CLibraryFile, CLibraryFolder(), GetFileCount(), GetFileIterator(), GetFolderCount(), GetFolderIterator(), CLibraryFile::GetNameLC(), GetNextFile(), GetNextFolder(), m_bExpanded, m_bShared, m_nFiles, CLibraryFile::m_nSize, m_nVolume, m_pFiles, m_pFolders, m_sNameLC, m_sPath, PathToName(), CLibraryFile::Serialize(), Serialize(), TS_FALSE, and TS_UNKNOWN. Referenced by Serialize(), and CLibraryFolders::Serialize(). |
|
Definition at line 493 of file SharedFolder.cpp. References CSettings::Library, m_bMonitor, m_hMonitor, m_sPath, Settings, and CSettings::sLibrary::WatchFolders. Referenced by CLibraryFolders::ThreadScan(). |
|
|
Definition at line 88 of file SharedFolder.h. |
|
Definition at line 90 of file SharedFolder.h. Referenced by Serialize(), and ThreadScan(). |
|
Definition at line 89 of file SharedFolder.h. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 51 of file SharedFolder.h. Referenced by CLibraryTreeCtrl::Expand(), CLibraryFolderCtrl::OnItemExpanded(), Serialize(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::Update(). |
|
Definition at line 58 of file SharedFolder.h. Referenced by CheckMonitor(), Scan(), and SetMonitor(). |
|
Definition at line 50 of file SharedFolder.h. Referenced by CLibraryFolders::AddFolder(), Serialize(), and CLibraryTreeView::Update(). |
|
Definition at line 57 of file SharedFolder.h. Referenced by CheckMonitor(), SetMonitor(), and ~CLibraryFolder(). |
|
Definition at line 52 of file SharedFolder.h. Referenced by Clear(), CFolderTipCtrl::OnPrepare(), Serialize(), and ThreadScan(). |
|
Definition at line 42 of file SharedFolder.h. Referenced by ThreadScan(). |
|
Definition at line 44 of file SharedFolder.h. Referenced by CLibraryFolderCtrl::SetSelectedCookie(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::Update(). |
|
Definition at line 43 of file SharedFolder.h. Referenced by ThreadScan(), and CLibraryTreeView::Update(). |
|
Definition at line 53 of file SharedFolder.h. Referenced by Clear(), CFolderTipCtrl::OnPrepare(), Serialize(), and ThreadScan(). |
|
Definition at line 56 of file SharedFolder.h. Referenced by Clear(), GetFile(), GetFileCount(), GetFileIterator(), GetNextFile(), OnDelete(), OnFileRename(), Serialize(), ThreadScan(), and CLibraryTreeView::Update(). |
|
Definition at line 55 of file SharedFolder.h. Referenced by Clear(), GetFolderByName(), GetFolderCount(), GetFolderIterator(), GetNextFolder(), OnDelete(), Serialize(), and ThreadScan(). |
|
Definition at line 46 of file SharedFolder.h. Referenced by CLibraryFile::GetSearchName(), CLibraryFile::IsShared(), Scan(), ThreadScan(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::Update(). |
|
Definition at line 47 of file SharedFolder.h. Referenced by CLibraryFolders::AddFolder(), CFolderTipCtrl::OnPrepare(), PathToName(), ThreadScan(), CLibraryFolderCtrl::Update(), and CLibraryTreeView::Update(). |
|
Definition at line 48 of file SharedFolder.h. Referenced by PathToName(), Serialize(), and ThreadScan(). |
|
|
|