#include <ThumbCache.h>
Public Member Functions | |
CThumbCache () | |
virtual | ~CThumbCache () |
BOOL | Load (LPCTSTR pszPath, CSize *pszThumb, DWORD nIndex, CImageFile *pImage) |
BOOL | Store (LPCTSTR pszPath, CSize *pszThumb, DWORD nIndex, CImageFile *pImage) |
void | Close () |
Static Public Member Functions | |
static BOOL | Purge (LPCTSTR pszPath) |
Protected Member Functions | |
BOOL | Prepare (LPCTSTR pszPath, CSize *pszThumb, BOOL bCreate) |
BOOL | GetFileTime (LPCTSTR pszPath, FILETIME *pTime) |
Protected Attributes | |
CCriticalSection | m_pSection |
CString | m_sPath |
CFile | m_pFile |
BOOL | m_bOpen |
CSize | m_szThumb |
DWORD | m_nOffset |
THUMB_INDEX * | m_pIndex |
DWORD | m_nIndex |
DWORD | m_nBuffer |
|
Definition at line 41 of file ThumbCache.cpp. References m_bOpen, m_nBuffer, m_nIndex, m_nOffset, m_pIndex, and NULL. |
|
Definition at line 50 of file ThumbCache.cpp. References Close(). |
|
Definition at line 147 of file ThumbCache.cpp. References m_bOpen, m_nBuffer, m_nIndex, m_pFile, m_pIndex, m_pSection, m_sPath, and NULL. Referenced by Prepare(), and ~CThumbCache(). |
|
Definition at line 322 of file ThumbCache.cpp. |
|
Definition at line 167 of file ThumbCache.cpp. References GetFileTime(), m_nIndex, m_pFile, m_pIndex, m_pSection, THUMB_INDEX::nIndex, THUMB_INDEX::nOffset, Prepare(), THUMB_INDEX::pTime, and CImageFile::Serialize(). Referenced by CLibraryTipCtrl::OnRun(), CLibraryThumbView::OnRun(), CLibraryMetaPanel::OnRun(), and CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 58 of file ThumbCache.cpp. References Close(), CSettings::Library, m_bOpen, m_nBuffer, m_nIndex, m_nOffset, m_pFile, m_pIndex, m_sPath, m_szThumb, Settings, THUMB_SIGNATURE, and CSettings::sLibrary::ThumbSize. |
|
Definition at line 304 of file ThumbCache.cpp. |
|
Definition at line 206 of file ThumbCache.cpp. References GetFileTime(), CImageFile::GetSerialSize(), Library, CLibrary::LookupFile(), m_nBuffer, m_nIndex, m_nOffset, m_pFile, m_pIndex, m_pSection, THUMB_INDEX::nIndex, THUMB_INDEX::nLength, THUMB_INDEX::nOffset, NULL, Prepare(), THUMB_INDEX::pTime, and CImageFile::Serialize(). Referenced by CLibraryTipCtrl::OnRun(), CLibraryThumbView::OnRun(), CLibraryMetaPanel::OnRun(), and CUploadTransferHTTP::RequestPreview(). |
|
Definition at line 51 of file ThumbCache.h. Referenced by Close(), CThumbCache(), and Prepare(). |
|
Definition at line 57 of file ThumbCache.h. Referenced by Close(), CThumbCache(), Prepare(), and Store(). |
|
Definition at line 56 of file ThumbCache.h. Referenced by Close(), CThumbCache(), Load(), Prepare(), and Store(). |
|
Definition at line 54 of file ThumbCache.h. Referenced by CThumbCache(), Prepare(), and Store(). |
|
Definition at line 50 of file ThumbCache.h. |
|
Definition at line 55 of file ThumbCache.h. Referenced by Close(), CThumbCache(), Load(), Prepare(), and Store(). |
|
Definition at line 47 of file ThumbCache.h. |
|
Definition at line 49 of file ThumbCache.h. |
|
Definition at line 52 of file ThumbCache.h. Referenced by Prepare(). |