fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / shell / source / backends / wininetbe / wininetbecdef.cxx
blob8958ac1dc596cf5d589a0464d7b95c3956a01469
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 .
21 #include <wininetbackend.hxx>
22 #include <com/sun/star/registry/XRegistryKey.hpp>
24 #include <cppuhelper/implementationentry.hxx>
25 #include <com/sun/star/uno/XComponentContext.hpp>
27 namespace uno = com::sun::star::uno ;
31 static uno::Reference<uno::XInterface> SAL_CALL createWinInetBackend(
32 const uno::Reference<uno::XComponentContext>&){
34 return * WinInetBackend::createInstance();
39 static const cppu::ImplementationEntry kImplementations_entries[] =
42 createWinInetBackend,
43 WinInetBackend::getBackendName,
44 WinInetBackend::getBackendServiceNames,
45 cppu::createSingleComponentFactory,
46 NULL,
49 { NULL, NULL, NULL, NULL, NULL, 0 }
50 } ;
54 extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL wininetbe1_component_getFactory( const sal_Char *aImplementationName,
55 void *aServiceManager,
56 void *aRegistryKey) {
58 return cppu::component_getFactoryHelper(
59 aImplementationName,
60 aServiceManager,
61 aRegistryKey,
62 kImplementations_entries) ;
67 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */