1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 #include <rtl/ustring.hxx>
7 class FTPHandleProvider
{
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;
29 ~FTPHandleProvider() {}
35 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */