#include <IEProtocol.h>
Public Member Functions | |
CIEProtocol () | |
virtual | ~CIEProtocol () |
BOOL | Create () |
void | Close () |
BOOL | SetCollection (SHA1 *pSHA1, LPCTSTR pszPath, CString *psIndex=NULL) |
Static Public Attributes | |
static CLSID | clsidProtocol = { 0x18d11ed9, 0x1264, 0x48a1, { 0x9e, 0x14, 0x20, 0xf2, 0xc6, 0x33, 0x24, 0x2b } } |
static LPCWSTR | pszProtocols [] = { L"p2p-col", L"telnet", NULL } |
Protected Member Functions | |
CIEProtocolRequest * | CreateRequest () |
void | OnRequestConstruct (CIEProtocolRequest *pRequest) |
void | OnRequestDestruct (CIEProtocolRequest *pRequest) |
HRESULT | OnRequest (LPCTSTR pszURL, CBuffer *pBuffer, CString *psMimeType, BOOL bParseOnly) |
HRESULT | OnRequestRAZACOL (LPCTSTR pszURL, CBuffer *pBuffer, CString *psMimeType, BOOL bParseOnly) |
Protected Attributes | |
CCriticalSection | m_pSection |
CComPtr< IInternetSession > | m_pSession |
CEvent * | m_pShutdown |
LONG | m_nRequests |
SHA1 | m_pCollSHA1 |
CZIPFile * | m_pCollZIP |
STDMETHOD( | CreateInstance )(IUnknown *pUnkOuter, REFIID riid, void **ppvObject) |
STDMETHOD( | LockServer )(BOOL fLock) |
Friends | |
class | CIEProtocolRequest |
|
Definition at line 61 of file IEProtocol.cpp. References m_nRequests, m_pCollZIP, m_pShutdown, and NULL. |
|
Definition at line 69 of file IEProtocol.cpp. References Close(). |
|
Definition at line 98 of file IEProtocol.cpp. References m_nRequests, m_pSection, m_pSession, m_pShutdown, NULL, pszProtocols, and SetCollection(). Referenced by CShareazaApp::ExitInstance(), and ~CIEProtocol(). |
|
Definition at line 77 of file IEProtocol.cpp. References clsidProtocol, m_pSection, m_pSession, NULL, and pszProtocols. Referenced by CShareazaApp::InitInstance(). |
|
Definition at line 133 of file IEProtocol.cpp. References CIEProtocolRequest, and m_pSection. |
|
Definition at line 396 of file IEProtocol.cpp. References m_pSection, and OnRequestRAZACOL(). Referenced by CIEProtocolRequest::OnStart(). |
|
Definition at line 139 of file IEProtocol.cpp. References m_nRequests, and m_pSection. |
|
Definition at line 145 of file IEProtocol.cpp. References m_nRequests, m_pSection, m_pShutdown, and NULL. Referenced by CIEProtocolRequest::~CIEProtocolRequest(). |
|
Definition at line 413 of file IEProtocol.cpp. References CBuffer::AddBuffer(), CZIPFile::File::Decompress(), CZIPFile::GetFile(), CSHA::HashFromString(), CZIPFile::IsOpen(), CShellIcons::Lookup(), m_pCollSHA1, m_pCollZIP, NULL, ShellIcons, and CConnection::URLDecode(). Referenced by OnRequest(). |
|
Definition at line 445 of file IEProtocol.cpp. References CZIPFile::GetFile(), m_pCollSHA1, m_pCollZIP, m_pSection, NULL, and CZIPFile::Open(). Referenced by Close(), CLibraryCollectionView::OnDestroy(), and CLibraryCollectionView::ShowCollection(). |
|
Definition at line 75 of file IEProtocol.h. Referenced by CreateRequest(). |
|
Definition at line 52 of file IEProtocol.cpp. Referenced by Create(). |
|
|
|
|
|
Definition at line 50 of file IEProtocol.h. Referenced by CIEProtocol(), Close(), OnRequestConstruct(), and OnRequestDestruct(). |
|
Definition at line 52 of file IEProtocol.h. Referenced by OnRequestRAZACOL(), and SetCollection(). |
|
Definition at line 53 of file IEProtocol.h. Referenced by CIEProtocol(), OnRequestRAZACOL(), and SetCollection(). |
|
Definition at line 47 of file IEProtocol.h. Referenced by Close(), Create(), CreateRequest(), OnRequest(), OnRequestConstruct(), OnRequestDestruct(), and SetCollection(). |
|
Definition at line 48 of file IEProtocol.h. |
|
Definition at line 49 of file IEProtocol.h. Referenced by CIEProtocol(), Close(), and OnRequestDestruct(). |
|
Definition at line 53 of file IEProtocol.cpp. |