#include <ImageServices.h>
Inheritance diagram for CImageServices:
Public Member Functions | |
CImageServices () | |
virtual | ~CImageServices () |
void | Cleanup () |
Static Public Member Functions | |
static BOOL | LoadBitmap (CBitmap *pBitmap, UINT nResourceID, LPCTSTR pszType) |
Protected Member Functions | |
BOOL | LoadFromMemory (CImageFile *pFile, LPCTSTR pszType, LPCVOID pData, DWORD nLength, BOOL bScanOnly=FALSE, BOOL bPartialOk=FALSE) |
BOOL | LoadFromFile (CImageFile *pFile, LPCTSTR pszType, HANDLE hFile, DWORD nLength, BOOL bScanOnly=FALSE, BOOL bPartialOk=FALSE) |
BOOL | PostLoad (CImageFile *pFile, IMAGESERVICEDATA *pParams, SAFEARRAY *pArray, BOOL bSuccess) |
BOOL | SaveToMemory (CImageFile *pFile, LPCTSTR pszType, int nQuality, LPBYTE *ppBuffer, DWORD *pnLength) |
BOOL | SaveToFile (CImageFile *pFile, LPCTSTR pszType, int nQuality, HANDLE hFile, DWORD *pnLength=NULL) |
SAFEARRAY * | ImageToArray (CImageFile *pFile) |
IImageServicePlugin * | GetService (LPCTSTR pszFile, CLSID **ppCLSID=NULL) |
IImageServicePlugin * | LoadService (LPCTSTR pszType, CLSID *pCLSID=NULL) |
Protected Attributes | |
CMapStringToPtr | m_pService |
CMapStringToPtr | m_pCLSID |
BOOL | m_bCOM |
Friends | |
class | CImageFile |
|
Definition at line 44 of file ImageServices.cpp. |
|
Definition at line 49 of file ImageServices.cpp. References Cleanup(). |
|
Definition at line 397 of file ImageServices.cpp. References m_bCOM, m_pCLSID, m_pService, and NULL. Referenced by CUploadTransferHTTP::RequestPreview(), and ~CImageServices(). |
|
Definition at line 315 of file ImageServices.cpp. References LoadService(), m_pCLSID, m_pService, and NULL. Referenced by LoadFromFile(), LoadFromMemory(), SaveToFile(), and SaveToMemory(). |
|
Definition at line 286 of file ImageServices.cpp. References CImageFile::m_nComponents, CImageFile::m_nHeight, CImageFile::m_nWidth, CImageFile::m_pImage, and NULL. Referenced by SaveToFile(), and SaveToMemory(). |
|
Definition at line 430 of file ImageServices.cpp. References CImageFile::CreateBitmap(), CImageFile::EnsureRGB(), CImageFile::LoadFromResource(), and NULL. Referenced by CSplashDlg::OnInitDialog(), CMediaFrame::OnPaint(), and CRichElement::PrePaintBitmap(). |
|
Definition at line 98 of file ImageServices.cpp. References GetService(), Shareaza::IMAGESERVICE_PARTIAL_IN, Shareaza::IMAGESERVICE_SCANONLY, LoadFromMemory(), NULL, and PostLoad(). Referenced by CImageFile::LoadFromFile(). |
|
Definition at line 57 of file ImageServices.cpp. References GetService(), Shareaza::IMAGESERVICE_PARTIAL_IN, Shareaza::IMAGESERVICE_SCANONLY, NULL, and PostLoad(). Referenced by LoadFromFile(), CImageFile::LoadFromMemory(), and CImageFile::LoadFromResource(). |
|
Definition at line 354 of file ImageServices.cpp. References CBitmapImageService::Create(), CPlugins::LookupCLSID(), m_bCOM, NULL, and Plugins. Referenced by GetService(). |
|
Definition at line 155 of file ImageServices.cpp. References CImageFile::Clear(), CImageFile::m_bLoaded, CImageFile::m_bScanned, CImageFile::m_nComponents, CImageFile::m_nHeight, CImageFile::m_nWidth, CImageFile::m_pImage, __MIDL___MIDL_itf_Shareaza_0125_0001::nComponents, __MIDL___MIDL_itf_Shareaza_0125_0001::nHeight, NULL, and __MIDL___MIDL_itf_Shareaza_0125_0001::nWidth. Referenced by LoadFromFile(), and LoadFromMemory(). |
|
Definition at line 246 of file ImageServices.cpp. References GetService(), ImageToArray(), and NULL. Referenced by CImageFile::SaveToFile(). |
|
Definition at line 202 of file ImageServices.cpp. References GetService(), ImageToArray(), and NULL. Referenced by CImageFile::SaveToMemory(). |
|
Definition at line 61 of file ImageServices.h. |
|
Definition at line 59 of file ImageServices.h. Referenced by Cleanup(), and LoadService(). |
|
Reimplemented from CComObject. Definition at line 58 of file ImageServices.h. Referenced by Cleanup(), and GetService(). |
|
Definition at line 57 of file ImageServices.h. Referenced by Cleanup(), and GetService(). |