|
LibreOffice Module extensions (master) 1
|
#include <download.hxx>
Public Member Functions | |
| Download (const css::uno::Reference< css::uno::XComponentContext > &xContext, const rtl::Reference< DownloadInteractionHandler > &rHandler) | |
| bool | start (const OUString &rURL, const OUString &rFile, const OUString &rDestinationDir) |
| void | stop () |
Protected Member Functions | |
| void | getProxyForURL (std::u16string_view rURL, OString &rHost, sal_Int32 &rPort) const |
Private Attributes | |
| osl::Condition | m_aCondition |
| const css::uno::Reference< css::uno::XComponentContext > & | m_xContext |
| const rtl::Reference< DownloadInteractionHandler > | m_aHandler |
Definition at line 56 of file download.hxx.
|
inline |
Definition at line 59 of file download.hxx.
|
protected |
Definition at line 172 of file download.cxx.
References getInt32Value(), getStringValue(), m_xContext, o3tl::starts_with(), and u.
Referenced by start().
| bool Download::start | ( | const OUString & | rURL, |
| const OUString & | rFile, | ||
| const OUString & | rDestinationDir | ||
| ) |
Definition at line 335 of file download.cxx.
References aURL, curl_run(), getProxyForURL(), m_aCondition, m_aHandler, and nIndex.
| void Download::stop | ( | ) |
Definition at line 422 of file download.cxx.
References m_aCondition.
|
private |
Definition at line 75 of file download.hxx.
|
private |
Definition at line 77 of file download.hxx.
Referenced by start().
|
private |
Definition at line 76 of file download.hxx.
Referenced by getProxyForURL().