25#include <com/sun/star/lang/XSingleServiceFactory.hpp>
26#include <com/sun/star/lang/XMultiServiceFactory.hpp>
40 class FTPLoaderThread;
47 explicit FTPContentProvider(
const css::uno::Reference< css::uno::XComponentContext >& rxContext );
52 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
60 virtual css::uno::Sequence< css::uno::Type > SAL_CALL
getTypes()
override;
68 virtual css::uno::Reference< css::ucb::XContent > SAL_CALL
76 void forHost(std::u16string_view host,
77 std::u16string_view port,
78 std::u16string_view username,
82 bool setHost(
const OUString& host,
84 const OUString& username,
85 const OUString& password,
86 const OUString& account);
void forHost(std::u16string_view host, std::u16string_view port, std::u16string_view username, OUString &password, OUString &account)
host is in the form host:port.
FTPContentProvider(const css::uno::Reference< css::uno::XComponentContext > &rxContext)
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
virtual ~FTPContentProvider() override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
bool setHost(const OUString &host, const OUString &port, const OUString &username, const OUString &password, const OUString &account)
std::unique_ptr< FTPLoaderThread > m_ftpLoaderThread
virtual css::uno::Reference< css::ucb::XContent > SAL_CALL queryContent(const css::uno::Reference< css::ucb::XContentIdentifier > &Identifier) override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
std::vector< ServerInfo > m_ServerInfo
virtual OUString SAL_CALL getImplementationName() override
std::unique_ptr< ucbhelper::InternetProxyDecider > m_pProxyDecider
virtual void SAL_CALL acquire() noexcept override
virtual void SAL_CALL release() noexcept override
constexpr OUStringLiteral FTP_CONTENT_TYPE
constexpr OUStringLiteral FTP_CONTENT_PROVIDER_SERVICE_NAME
Definition of ftpcontentprovider.