1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
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 <rtl/ustring.hxx>
22 #include <com/sun/star/uno/Sequence.hxx>
23 #include <com/sun/star/uno/Reference.hxx>
24 #include <com/sun/star/uno/RuntimeException.hpp>
26 namespace com
{ namespace sun
{ namespace star
{ namespace uno
{
28 class XComponentContext
;
31 namespace stoc_bootstrap
34 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
OServiceManager_CreateInstance(
35 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
> & xContext
);
36 ::com::sun::star::uno::Sequence
< OUString
> smgr_wrapper_getSupportedServiceNames();
37 OUString
smgr_wrapper_getImplementationName();
38 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
OServiceManagerWrapper_CreateInstance(
39 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
> & xContext
)
40 throw (::com::sun::star::uno::Exception
);
41 ::com::sun::star::uno::Sequence
< OUString
> smgr_getSupportedServiceNames();
42 OUString
smgr_getImplementationName();
43 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
ORegistryServiceManager_CreateInstance(
44 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
> & xContext
)
45 throw(::com::sun::star::uno::Exception
, ::com::sun::star::uno::RuntimeException
);
46 ::com::sun::star::uno::Sequence
< OUString
> regsmgr_getSupportedServiceNames();
47 OUString
regsmgr_getImplementationName();
50 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
ac_create(
51 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
> const & xComponentContext
)
52 SAL_THROW( (::com::sun::star::uno::Exception
) );
53 ::com::sun::star::uno::Sequence
< OUString
> ac_getSupportedServiceNames() SAL_THROW(());
54 OUString
ac_getImplementationName() SAL_THROW(());
56 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
filepolicy_create(
57 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
> const & xComponentContext
)
58 SAL_THROW( (com::sun::star::uno::Exception
) );
59 ::com::sun::star::uno::Sequence
< OUString
> filepolicy_getSupportedServiceNames() SAL_THROW(());
60 OUString
filepolicy_getImplementationName() SAL_THROW(());
63 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
NestedRegistry_CreateInstance(
64 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
>& )
65 throw( ::com::sun::star::uno::Exception
);
66 ::com::sun::star::uno::Sequence
< OUString
> defreg_getSupportedServiceNames();
67 OUString
defreg_getImplementationName();
70 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
SimpleRegistry_CreateInstance(
71 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
>& );
72 ::com::sun::star::uno::Sequence
< OUString
> simreg_getSupportedServiceNames();
73 OUString
simreg_getImplementationName();
75 //implementationregistry
76 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
ImplementationRegistration_CreateInstance(
77 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
>& ); // throw(Exception)
78 ::com::sun::star::uno::Sequence
< OUString
> impreg_getSupportedServiceNames();
79 OUString
impreg_getImplementationName();
82 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
DllComponentLoader_CreateInstance(
83 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
>& )
84 throw(::com::sun::star::uno::Exception
);
85 ::com::sun::star::uno::Sequence
< OUString
> loader_getSupportedServiceNames();
86 OUString
loader_getImplementationName();
89 ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XInterface
> SAL_CALL
ProviderImpl_create(
90 const ::com::sun::star::uno::Reference
< ::com::sun::star::uno::XComponentContext
>& )
91 throw(::com::sun::star::uno::Exception
);
92 ::com::sun::star::uno::Sequence
< OUString
> rdbtdp_getSupportedServiceNames();
93 OUString
rdbtdp_getImplementationName();
96 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */