CWGUrlReceiver Class Reference

#include <WGUrlReceiver.h>

List of all members.

Public Member Functions

 CWGUrlReceiver ()
STDMETHOD() get_FlashVideoDownload (BOOL *pVal)
STDMETHOD() put_FlashVideoDownload (BOOL newVal)
STDMETHOD() get_FileName (BSTR *pVal)
STDMETHOD() put_FileName (BSTR newVal)
STDMETHOD() get_DisableURLExistsCheck (BOOL *pVal)
STDMETHOD() put_DisableURLExistsCheck (BOOL newVal)
STDMETHOD() get_DisableMaliciousChecking (BOOL *pVal)
STDMETHOD() put_DisableMaliciousChecking (BOOL newVal)
STDMETHOD() get_ForceDownloadAutoStart (BOOL *pVal)
STDMETHOD() put_ForceDownloadAutoStart (BOOL newVal)
STDMETHOD() get_ForceSilentEx (BOOL *pVal)
STDMETHOD() put_ForceSilentEx (BOOL newVal)
STDMETHOD() get_PostData (BSTR *pVal)
STDMETHOD() put_PostData (BSTR newVal)
STDMETHOD() get_Cookies (BSTR *pVal)
STDMETHOD() put_Cookies (BSTR newVal)
STDMETHOD() get_ForceSilent (BOOL *pVal)
STDMETHOD() put_ForceSilent (BOOL newVal)
STDMETHOD() get_UIState (BSTR *pVal)
STDMETHOD() get_UseSkipExtsList (BOOL *pVal)
STDMETHOD() put_UseSkipExtsList (BOOL newVal)
void FinalRelease ()
STDMETHOD() get_IgnoreSize (BOOL *pVal)
STDMETHOD() put_IgnoreSize (BOOL newVal)
STDMETHOD() get_CheckExtension (BOOL *pVal)
STDMETHOD() put_CheckExtension (BOOL newVal)
STDMETHOD() AddDownload ()
STDMETHOD() get_Referer (BSTR *pVal)
STDMETHOD() put_Referer (BSTR newVal)
STDMETHOD() get_Comment (BSTR *pVal)
STDMETHOD() put_Comment (BSTR newVal)
STDMETHOD() get_Url (BSTR *pVal)
STDMETHOD() put_Url (BSTR newVal)
STDMETHOD() ShowAddPageDownloadDialog ()
STDMETHOD() ShowAddDownloadDialog ()

Protected Member Functions

void StartJobThread (LPTHREAD_START_ROUTINE pfn)
BOOL is_ExtToSkip ()

Static Protected Member Functions

static DWORD WINAPI _threadAddPage (LPVOID lp)
static DWORD WINAPI _threadAddDownload (LPVOID lp)
static HRESULT AddDownload_imp (_ic_DownloadInfo *dlinfo)

Protected Attributes

HANDLE m_hJobt
_ic_DownloadInfo m_dlInfo
BOOL m_bCheckExt
BOOL m_bIgnoreSize

Classes

struct  _ic_DownloadInfo


Detailed Description

Definition at line 12 of file WGUrlReceiver.h.


Constructor & Destructor Documentation

CWGUrlReceiver::CWGUrlReceiver (  )  [inline]

Definition at line 18 of file WGUrlReceiver.h.

References FALSE, NULL, and TRUE.


Member Function Documentation

STDMETHODIMP CWGUrlReceiver::get_FlashVideoDownload ( BOOL *  pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_FlashVideoDownload ( BOOL  newVal  ) 

STDMETHODIMP CWGUrlReceiver::get_FileName ( BSTR pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_FileName ( BSTR  newVal  ) 

Definition at line 395 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrFileName, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::get_DisableURLExistsCheck ( BOOL *  pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_DisableURLExistsCheck ( BOOL  newVal  ) 

STDMETHODIMP CWGUrlReceiver::get_DisableMaliciousChecking ( BOOL *  pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_DisableMaliciousChecking ( BOOL  newVal  ) 

STDMETHODIMP CWGUrlReceiver::get_ForceDownloadAutoStart ( BOOL *  pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_ForceDownloadAutoStart ( BOOL  newVal  ) 

STDMETHODIMP CWGUrlReceiver::get_ForceSilentEx ( BOOL *  pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_ForceSilentEx ( BOOL  newVal  ) 

STDMETHODIMP CWGUrlReceiver::get_PostData ( BSTR pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_PostData ( BSTR  newVal  ) 

Definition at line 322 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrPostData, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::get_Cookies ( BSTR pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_Cookies ( BSTR  newVal  ) 

Definition at line 310 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrCookies, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::get_ForceSilent ( BOOL *  pVal  ) 

Definition at line 291 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bForceSilent, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::put_ForceSilent ( BOOL  newVal  ) 

STDMETHODIMP CWGUrlReceiver::get_UIState ( BSTR pVal  ) 

Definition at line 246 of file WGUrlReceiver.cpp.

References E_FAIL, m_hJobt, NULL, S_OK, and SysAllocString().

STDMETHODIMP CWGUrlReceiver::get_UseSkipExtsList ( BOOL *  pVal  ) 

Definition at line 328 of file WGUrlReceiver.cpp.

References S_OK, and TRUE.

STDMETHODIMP CWGUrlReceiver::put_UseSkipExtsList ( BOOL  newVal  ) 

Definition at line 334 of file WGUrlReceiver.cpp.

References S_OK.

void CWGUrlReceiver::FinalRelease (  ) 

Definition at line 240 of file WGUrlReceiver.cpp.

References m_hJobt.

STDMETHODIMP CWGUrlReceiver::get_IgnoreSize ( BOOL *  pVal  ) 

Definition at line 228 of file WGUrlReceiver.cpp.

References m_bIgnoreSize, and S_OK.

STDMETHODIMP CWGUrlReceiver::put_IgnoreSize ( BOOL  newVal  ) 

Definition at line 234 of file WGUrlReceiver.cpp.

References m_bIgnoreSize, and S_OK.

STDMETHODIMP CWGUrlReceiver::get_CheckExtension ( BOOL *  pVal  ) 

Definition at line 194 of file WGUrlReceiver.cpp.

References m_bCheckExt, and S_OK.

STDMETHODIMP CWGUrlReceiver::put_CheckExtension ( BOOL  newVal  ) 

Definition at line 200 of file WGUrlReceiver.cpp.

References m_bCheckExt, and S_OK.

STDMETHODIMP CWGUrlReceiver::AddDownload (  ) 

STDMETHODIMP CWGUrlReceiver::get_Referer ( BSTR pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_Referer ( BSTR  newVal  ) 

Definition at line 188 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrReferer, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::get_Comment ( BSTR pVal  ) 

STDMETHODIMP CWGUrlReceiver::put_Comment ( BSTR  newVal  ) 

Definition at line 176 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrComment, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::get_Url ( BSTR pVal  ) 

Definition at line 21 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrUrl, m_dlInfo, and S_OK.

STDMETHODIMP CWGUrlReceiver::put_Url ( BSTR  newVal  ) 

Definition at line 27 of file WGUrlReceiver.cpp.

References CWGUrlReceiver::_ic_DownloadInfo::bstrUrl, LOG, m_dlInfo, nl, and S_OK.

STDMETHODIMP CWGUrlReceiver::ShowAddPageDownloadDialog (  ) 

Definition at line 66 of file WGUrlReceiver.cpp.

References _threadAddPage(), S_OK, and StartJobThread().

STDMETHODIMP CWGUrlReceiver::ShowAddDownloadDialog ( void   ) 

Definition at line 34 of file WGUrlReceiver.cpp.

References AddDownload().

void CWGUrlReceiver::StartJobThread ( LPTHREAD_START_ROUTINE  pfn  )  [protected]

Definition at line 276 of file WGUrlReceiver.cpp.

References m_dlInfo, m_hJobt, UIThread::set_Thread(), and TRUE.

Referenced by AddDownload(), and ShowAddPageDownloadDialog().

DWORD WINAPI CWGUrlReceiver::_threadAddPage ( LPVOID  lp  )  [static, protected]

BOOL CWGUrlReceiver::is_ExtToSkip (  )  [protected]

DWORD WINAPI CWGUrlReceiver::_threadAddDownload ( LPVOID  lp  )  [static, protected]

Definition at line 72 of file WGUrlReceiver.cpp.

References AddDownload_imp().

Referenced by AddDownload().

HRESULT CWGUrlReceiver::AddDownload_imp ( _ic_DownloadInfo dlinfo  )  [static, protected]


Member Data Documentation

HANDLE CWGUrlReceiver::m_hJobt [protected]

Definition at line 88 of file WGUrlReceiver.h.

Referenced by FinalRelease(), get_UIState(), and StartJobThread().

BOOL CWGUrlReceiver::m_bCheckExt [protected]

Definition at line 104 of file WGUrlReceiver.h.

Referenced by AddDownload(), get_CheckExtension(), and put_CheckExtension().

Definition at line 105 of file WGUrlReceiver.h.

Referenced by AddDownload(), get_IgnoreSize(), and put_IgnoreSize().


The documentation for this class was generated from the following files:

Generated on Sun May 25 00:20:58 2008 by  doxygen 1.5.6