#include <WgUrlListReceiver.h>
Public Member Functions | |
| CWgUrlListReceiver () | |
| STDMETHOD() | get_Cookies (BSTR *pVal) |
| STDMETHOD() | put_Cookies (BSTR newVal) |
| STDMETHOD() | GetUrlListFromDocumentSelection (IDispatch *pDispatch) |
| STDMETHOD() | AddUrlToList () |
| STDMETHOD() | ShowAddUrlListDialog () |
| 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) |
Static Protected Member Functions | |
| static DWORD WINAPI | _threadAddUrlListDialog (LPVOID lp) |
Protected Attributes | |
| fs::list< fsString > | m_vUrls |
| fs::list< fsString > | m_vComments |
| fs::list< fsString > | m_vReferers |
| fs::list< fsString > | m_vCookies |
| CComBSTR | m_bstrUrl |
| CComBSTR | m_bstrComment |
| CComBSTR | m_bstrReferer |
| CComBSTR | m_bstrCookies |
Definition at line 12 of file WgUrlListReceiver.h.
| CWgUrlListReceiver::CWgUrlListReceiver | ( | ) | [inline] |
Definition at line 18 of file WgUrlListReceiver.h.
| STDMETHODIMP CWgUrlListReceiver::get_Cookies | ( | BSTR * | pVal | ) |
Definition at line 207 of file WgUrlListReceiver.cpp.
References m_bstrCookies, S_OK, and SysAllocString().
| STDMETHODIMP CWgUrlListReceiver::put_Cookies | ( | BSTR | newVal | ) |
Definition at line 213 of file WgUrlListReceiver.cpp.
References m_bstrCookies, and S_OK.
Referenced by GetUrlListFromDocumentSelection().
| STDMETHODIMP CWgUrlListReceiver::GetUrlListFromDocumentSelection | ( | IDispatch * | pDispatch | ) |
Definition at line 89 of file WgUrlListReceiver.cpp.
References AddUrlToList(), fsURL::Crack(), E_FAIL, FAILED, fsUrlToFullUrl(), fsURL::GetHostName(), fsHTMLParser::GetUrl(), fsHTMLParser::GetUrlCount(), IR_SUCCESS, LPSTR, m_bstrComment, m_bstrReferer, NULL, fsHTMLParser::ParseHTML(), put_Cookies(), put_Url(), S_FALSE, S_OK, fsHTMLParser::SetKillDupes(), SysFreeString(), and TRUE.
| STDMETHODIMP CWgUrlListReceiver::AddUrlToList | ( | ) |
Definition at line 68 of file WgUrlListReceiver.cpp.
References E_INVALIDARG, m_bstrComment, m_bstrCookies, m_bstrReferer, m_bstrUrl, m_vComments, m_vCookies, m_vReferers, m_vUrls, NULL, S_FALSE, and S_OK.
Referenced by GetUrlListFromDocumentSelection().
| STDMETHODIMP CWgUrlListReceiver::ShowAddUrlListDialog | ( | void | ) |
Definition at line 53 of file WgUrlListReceiver.cpp.
References _threadAddUrlListDialog(), m_vUrls, S_FALSE, S_OK, and UIThread::set_Thread().
| STDMETHODIMP CWgUrlListReceiver::get_Referer | ( | BSTR * | pVal | ) |
Definition at line 41 of file WgUrlListReceiver.cpp.
References m_bstrReferer, S_OK, and SysAllocString().
| STDMETHODIMP CWgUrlListReceiver::put_Referer | ( | BSTR | newVal | ) |
| STDMETHODIMP CWgUrlListReceiver::get_Comment | ( | BSTR * | pVal | ) |
Definition at line 29 of file WgUrlListReceiver.cpp.
References m_bstrComment, S_OK, and SysAllocString().
| STDMETHODIMP CWgUrlListReceiver::put_Comment | ( | BSTR | newVal | ) |
| STDMETHODIMP CWgUrlListReceiver::get_Url | ( | BSTR * | pVal | ) |
Definition at line 17 of file WgUrlListReceiver.cpp.
References m_bstrUrl, S_OK, and SysAllocString().
| STDMETHODIMP CWgUrlListReceiver::put_Url | ( | BSTR | newVal | ) |
Definition at line 23 of file WgUrlListReceiver.cpp.
References m_bstrUrl, and S_OK.
Referenced by GetUrlListFromDocumentSelection().
| DWORD WINAPI CWgUrlListReceiver::_threadAddUrlListDialog | ( | LPVOID | lp | ) | [static, protected] |
Definition at line 185 of file WgUrlListReceiver.cpp.
References _DlgMgr, CCreateDownloadListDlg::m_pvComments, CCreateDownloadListDlg::m_pvCookies, CCreateDownloadListDlg::m_pvReferers, CCreateDownloadListDlg::m_pvUrls, m_vComments, m_vCookies, m_vReferers, m_vUrls, fsDialogsMgr::OnDoModal(), and fsDialogsMgr::OnEndDialog().
Referenced by ShowAddUrlListDialog().
fs::list<fsString> CWgUrlListReceiver::m_vUrls [protected] |
Definition at line 50 of file WgUrlListReceiver.h.
Referenced by _threadAddUrlListDialog(), AddUrlToList(), and ShowAddUrlListDialog().
fs::list<fsString> CWgUrlListReceiver::m_vComments [protected] |
Definition at line 50 of file WgUrlListReceiver.h.
Referenced by _threadAddUrlListDialog(), and AddUrlToList().
fs::list<fsString> CWgUrlListReceiver::m_vReferers [protected] |
Definition at line 50 of file WgUrlListReceiver.h.
Referenced by _threadAddUrlListDialog(), and AddUrlToList().
fs::list<fsString> CWgUrlListReceiver::m_vCookies [protected] |
Definition at line 50 of file WgUrlListReceiver.h.
Referenced by _threadAddUrlListDialog(), and AddUrlToList().
CComBSTR CWgUrlListReceiver::m_bstrUrl [protected] |
Definition at line 51 of file WgUrlListReceiver.h.
Referenced by AddUrlToList(), get_Url(), and put_Url().
CComBSTR CWgUrlListReceiver::m_bstrComment [protected] |
Definition at line 51 of file WgUrlListReceiver.h.
Referenced by AddUrlToList(), get_Comment(), GetUrlListFromDocumentSelection(), and put_Comment().
CComBSTR CWgUrlListReceiver::m_bstrReferer [protected] |
Definition at line 51 of file WgUrlListReceiver.h.
Referenced by AddUrlToList(), get_Referer(), GetUrlListFromDocumentSelection(), and put_Referer().
CComBSTR CWgUrlListReceiver::m_bstrCookies [protected] |
Definition at line 51 of file WgUrlListReceiver.h.
Referenced by AddUrlToList(), get_Cookies(), and put_Cookies().
1.5.6