fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / ucb / source / ucp / ftp / ftpcontentidentifier.hxx
blobe08eae7b957b958dcf6d43b030b0fa69f6a83d49
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:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 /**************************************************************************
21 TODO
22 **************************************************************************
24 *************************************************************************/
25 #ifndef INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENTIDENTIFIER_HXX
26 #define INCLUDED_UCB_SOURCE_UCP_FTP_FTPCONTENTIDENTIFIER_HXX
28 #include <vector>
29 #include "curl.hxx"
30 #include <curl/easy.h>
31 #include <cppuhelper/weak.hxx>
32 #include <cppuhelper/queryinterface.hxx>
33 #include <com/sun/star/ucb/XContentIdentifier.hpp>
34 #include <com/sun/star/lang/XTypeProvider.hpp>
36 #include "ftpdirp.hxx"
37 #include "ftpurl.hxx"
40 namespace ftp {
42 class FTPContentIdentifier
43 : public cppu::OWeakObject,
44 public com::sun::star::lang::XTypeProvider,
45 public com::sun::star::ucb::XContentIdentifier
47 public:
49 FTPContentIdentifier(const OUString& ident);
51 virtual ~FTPContentIdentifier();
53 // XInterface
55 virtual com::sun::star::uno::Any SAL_CALL
56 queryInterface( const com::sun::star::uno::Type& rType )
57 throw( com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
59 virtual void SAL_CALL acquire() throw() SAL_OVERRIDE;
61 virtual void SAL_CALL release() throw() SAL_OVERRIDE;
63 // XTypeProvider
65 virtual
66 com::sun::star::uno::Sequence<com::sun::star::uno::Type> SAL_CALL
67 getTypes(
69 throw(
70 com::sun::star::uno::RuntimeException, std::exception
71 ) SAL_OVERRIDE;
73 virtual com::sun::star::uno::Sequence<sal_Int8> SAL_CALL
74 getImplementationId(
76 throw(
77 com::sun::star::uno::RuntimeException, std::exception
78 ) SAL_OVERRIDE;
81 // XContentIdentifier
83 virtual OUString SAL_CALL
84 getContentIdentifier(
86 throw (
87 com::sun::star::uno::RuntimeException, std::exception
88 ) SAL_OVERRIDE;
90 virtual OUString SAL_CALL
91 getContentProviderScheme(
93 throw (
94 ::com::sun::star::uno::RuntimeException, std::exception
95 ) SAL_OVERRIDE;
98 private:
100 OUString m_ident;
106 #endif
108 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */