update credits
[LibreOffice.git] / cppuhelper / source / compat.cxx
blob3047c114815e43361a51396ca00a60533099650c
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 #include "sal/config.h"
22 #include <cstdlib>
24 #include "com/sun/star/uno/Exception.hpp"
25 #include "com/sun/star/uno/Reference.hxx"
26 #include "com/sun/star/uno/Sequence.hxx"
27 #include "sal/types.h"
29 namespace com { namespace sun { namespace star {
30 namespace lang {
31 class XMultiComponentFactory;
32 class XMultiServiceFactory;
34 namespace reflection { class XIdlClass; }
35 namespace registry { class XSimpleRegistry; }
36 namespace uno { class XComponentContext; }
37 } } }
38 namespace rtl { class OUString; }
40 // Stubs for removed functionality, to be killed when we bump cppuhelper SONAME
42 namespace cppu {
44 SAL_DLLPUBLIC_EXPORT
45 css::uno::Reference< css::lang::XMultiComponentFactory > bootstrapInitialSF(
46 rtl::OUString const &) SAL_THROW((com::sun::star::uno::Exception))
48 for (;;) { std::abort(); } // avoid "must return a value" warnings
51 SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::uno::XComponentContext > SAL_CALL
52 bootstrap_InitialComponentContext(
53 css::uno::Reference< css::registry::XSimpleRegistry > const &,
54 rtl::OUString const &) SAL_THROW((css::uno::Exception))
56 for (;;) { std::abort(); } // avoid "must return a value" warnings
59 SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
60 SAL_CALL createNestedRegistry(rtl::OUString const &) SAL_THROW(()) {
61 for (;;) { std::abort(); } // avoid "must return a value" warnings
64 SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::lang::XMultiServiceFactory >
65 SAL_CALL createRegistryServiceFactory(
66 rtl::OUString const &, rtl::OUString const &, sal_Bool,
67 rtl::OUString const &) SAL_THROW((css::uno::Exception))
69 for (;;) { std::abort(); } // avoid "must return a value" warnings
72 SAL_DLLPUBLIC_EXPORT css::uno::Reference< css::registry::XSimpleRegistry >
73 SAL_CALL createSimpleRegistry(rtl::OUString const &) SAL_THROW(()) {
74 for (;;) { std::abort(); } // avoid "must return a value" warnings
77 SAL_DLLPUBLIC_EXPORT css::reflection::XIdlClass * SAL_CALL
78 createStandardClassWithSequence(
79 css::uno::Reference< css::lang::XMultiServiceFactory > const &,
80 rtl::OUString const &,
81 css::uno::Reference< css::reflection::XIdlClass > const &,
82 css::uno::Sequence< rtl::OUString > const &) SAL_THROW(())
84 for (;;) { std::abort(); } // avoid "must return a value" warnings
89 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */