LCOV - code coverage report
Current view: top level - ucb/source/ucp/ftp - ftphandleprovider.hxx (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 2 2 100.0 %
Date: 2012-08-25 Functions: 2 2 100.0 %
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
       2                 :            : #include <rtl/ustring.hxx>
       3                 :            : #include "curl.hxx"
       4                 :            : 
       5                 :            : namespace ftp {
       6                 :            : 
       7                 :          4 :     class FTPHandleProvider {
       8                 :            :     public:
       9                 :            : 
      10                 :            :         virtual CURL* handle() = 0;
      11                 :            : 
      12                 :            : 
      13                 :            :         /** host is in the form host:port.
      14                 :            :          */
      15                 :            : 
      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;
      21                 :            : 
      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;
      27                 :            : 
      28                 :            :     protected:
      29                 :          4 :         ~FTPHandleProvider() {}
      30                 :            :     };
      31                 :            : 
      32                 :            : 
      33                 :            : }
      34                 :            : 
      35                 :            : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10