fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / ucb / source / ucp / cmis / certvalidation_handler.hxx
blobb501ecd54c378ef33eb24588615676f7ff1ce180
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
12 #ifndef INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX
13 #define INCLUDED_UCB_SOURCE_UCP_CMIS_CERTVALIDATION_HANDLER_HXX
15 #include <libcmis/libcmis.hxx>
17 #include <com/sun/star/ucb/XCommandEnvironment.hpp>
19 namespace cmis
21 class CertValidationHandler : public libcmis::CertValidationHandler
23 const com::sun::star::uno::Reference< com::sun::star::ucb::XCommandEnvironment>& m_xEnv;
24 const com::sun::star::uno::Reference< com::sun::star::uno::XComponentContext >& m_xContext;
25 OUString m_sHostname;
27 public:
28 CertValidationHandler (
29 const com::sun::star::uno::Reference<
30 com::sun::star::ucb::XCommandEnvironment>& xEnv,
31 const com::sun::star::uno::Reference<
32 com::sun::star::uno::XComponentContext>& xContext,
33 const OUString& sHostname ):
34 m_xEnv( xEnv ), m_xContext( xContext ), m_sHostname( sHostname ) { }
36 bool validateCertificate( std::vector< std::string > certificates ) SAL_OVERRIDE;
40 #endif
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */