Bump for 3.6-28
[LibreOffice.git] / ucb / source / ucp / ftp / ftphandleprovider.hxx
blobe55d8bb1de1857c707923fe43de5d0e9d30edd41
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 #include <rtl/ustring.hxx>
3 #include "curl.hxx"
5 namespace ftp {
7 class FTPHandleProvider {
8 public:
10 virtual CURL* handle() = 0;
13 /** host is in the form host:port.
16 virtual bool forHost(const rtl::OUString& host,
17 const rtl::OUString& port,
18 const rtl::OUString& username,
19 rtl::OUString& password,
20 rtl::OUString& account) = 0;
22 virtual bool setHost(const rtl::OUString& host,
23 const rtl::OUString& port,
24 const rtl::OUString& username,
25 const rtl::OUString& password,
26 const rtl::OUString& account) = 0;
28 protected:
29 ~FTPHandleProvider() {}
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */