xref: /aoo4110/main/stoc/inc/bootstrapservices.hxx (revision b1cdbd2c)
1*b1cdbd2cSJim Jagielski /**************************************************************
2*b1cdbd2cSJim Jagielski  *
3*b1cdbd2cSJim Jagielski  * Licensed to the Apache Software Foundation (ASF) under one
4*b1cdbd2cSJim Jagielski  * or more contributor license agreements.  See the NOTICE file
5*b1cdbd2cSJim Jagielski  * distributed with this work for additional information
6*b1cdbd2cSJim Jagielski  * regarding copyright ownership.  The ASF licenses this file
7*b1cdbd2cSJim Jagielski  * to you under the Apache License, Version 2.0 (the
8*b1cdbd2cSJim Jagielski  * "License"); you may not use this file except in compliance
9*b1cdbd2cSJim Jagielski  * with the License.  You may obtain a copy of the License at
10*b1cdbd2cSJim Jagielski  *
11*b1cdbd2cSJim Jagielski  *   http://www.apache.org/licenses/LICENSE-2.0
12*b1cdbd2cSJim Jagielski  *
13*b1cdbd2cSJim Jagielski  * Unless required by applicable law or agreed to in writing,
14*b1cdbd2cSJim Jagielski  * software distributed under the License is distributed on an
15*b1cdbd2cSJim Jagielski  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*b1cdbd2cSJim Jagielski  * KIND, either express or implied.  See the License for the
17*b1cdbd2cSJim Jagielski  * specific language governing permissions and limitations
18*b1cdbd2cSJim Jagielski  * under the License.
19*b1cdbd2cSJim Jagielski  *
20*b1cdbd2cSJim Jagielski  *************************************************************/
21*b1cdbd2cSJim Jagielski 
22*b1cdbd2cSJim Jagielski 
23*b1cdbd2cSJim Jagielski 
24*b1cdbd2cSJim Jagielski // MARKER(update_precomp.py): autogen include statement, do not remove
25*b1cdbd2cSJim Jagielski #include "precompiled_stoc.hxx"
26*b1cdbd2cSJim Jagielski 
27*b1cdbd2cSJim Jagielski #include <rtl/ustring.hxx>
28*b1cdbd2cSJim Jagielski #include <com/sun/star/uno/Sequence.hxx>
29*b1cdbd2cSJim Jagielski #include <com/sun/star/uno/Reference.hxx>
30*b1cdbd2cSJim Jagielski #include <com/sun/star/uno/RuntimeException.hpp>
31*b1cdbd2cSJim Jagielski 
32*b1cdbd2cSJim Jagielski namespace com { namespace sun { namespace star { namespace uno {
33*b1cdbd2cSJim Jagielski     class XInterface;
34*b1cdbd2cSJim Jagielski     class XComponentContext;
35*b1cdbd2cSJim Jagielski } } } }
36*b1cdbd2cSJim Jagielski 
37*b1cdbd2cSJim Jagielski namespace stoc_bootstrap
38*b1cdbd2cSJim Jagielski {
39*b1cdbd2cSJim Jagielski     //servicemanager
40*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OServiceManager_CreateInstance(
41*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext );
42*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > smgr_wrapper_getSupportedServiceNames();
43*b1cdbd2cSJim Jagielski     ::rtl::OUString smgr_wrapper_getImplementationName();
44*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OServiceManagerWrapper_CreateInstance(
45*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext )
46*b1cdbd2cSJim Jagielski 	throw (::com::sun::star::uno::Exception);
47*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > smgr_getSupportedServiceNames();
48*b1cdbd2cSJim Jagielski     ::rtl::OUString smgr_getImplementationName();
49*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ORegistryServiceManager_CreateInstance(
50*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext )
51*b1cdbd2cSJim Jagielski 	throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
52*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > regsmgr_getSupportedServiceNames();
53*b1cdbd2cSJim Jagielski     ::rtl::OUString regsmgr_getImplementationName();
54*b1cdbd2cSJim Jagielski 
55*b1cdbd2cSJim Jagielski     //security
56*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ac_create(
57*b1cdbd2cSJim Jagielski 	    ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xComponentContext )
58*b1cdbd2cSJim Jagielski 	SAL_THROW( (::com::sun::star::uno::Exception) );
59*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > ac_getSupportedServiceNames() SAL_THROW( () );
60*b1cdbd2cSJim Jagielski     ::rtl::OUString ac_getImplementationName() SAL_THROW( () );
61*b1cdbd2cSJim Jagielski 
62*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL filepolicy_create(
63*b1cdbd2cSJim Jagielski 	    ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xComponentContext )
64*b1cdbd2cSJim Jagielski 	SAL_THROW( (com::sun::star::uno::Exception) );
65*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< rtl::OUString > filepolicy_getSupportedServiceNames() SAL_THROW( () );
66*b1cdbd2cSJim Jagielski     ::rtl::OUString filepolicy_getImplementationName() SAL_THROW( () );
67*b1cdbd2cSJim Jagielski 
68*b1cdbd2cSJim Jagielski     //defaultregistry
69*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL NestedRegistry_CreateInstance(
70*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
71*b1cdbd2cSJim Jagielski 	throw( ::com::sun::star::uno::Exception);
72*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > defreg_getSupportedServiceNames();
73*b1cdbd2cSJim Jagielski     ::rtl::OUString defreg_getImplementationName();
74*b1cdbd2cSJim Jagielski 
75*b1cdbd2cSJim Jagielski     //simpleregistry
76*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SimpleRegistry_CreateInstance(
77*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& );
78*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > simreg_getSupportedServiceNames();
79*b1cdbd2cSJim Jagielski     ::rtl::OUString simreg_getImplementationName();
80*b1cdbd2cSJim Jagielski 
81*b1cdbd2cSJim Jagielski     //implementationregistry
82*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ImplementationRegistration_CreateInstance(
83*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ); // throw(Exception)
84*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > impreg_getSupportedServiceNames();
85*b1cdbd2cSJim Jagielski     ::rtl::OUString impreg_getImplementationName();
86*b1cdbd2cSJim Jagielski 
87*b1cdbd2cSJim Jagielski     //loader
88*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL DllComponentLoader_CreateInstance(
89*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
90*b1cdbd2cSJim Jagielski 	throw(::com::sun::star::uno::Exception);
91*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > loader_getSupportedServiceNames();
92*b1cdbd2cSJim Jagielski     ::rtl::OUString loader_getImplementationName();
93*b1cdbd2cSJim Jagielski 
94*b1cdbd2cSJim Jagielski     //registry_tdprovider
95*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ProviderImpl_create(
96*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
97*b1cdbd2cSJim Jagielski 	throw(::com::sun::star::uno::Exception);
98*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > rdbtdp_getSupportedServiceNames();
99*b1cdbd2cSJim Jagielski     ::rtl::OUString rdbtdp_getImplementationName();
100*b1cdbd2cSJim Jagielski 
101*b1cdbd2cSJim Jagielski     //tdmanager
102*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ManagerImpl_create(
103*b1cdbd2cSJim Jagielski 	    const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
104*b1cdbd2cSJim Jagielski 	SAL_THROW( (::com::sun::star::uno::Exception) );
105*b1cdbd2cSJim Jagielski     ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL tdmgr_getSupportedServiceNames();
106*b1cdbd2cSJim Jagielski     ::rtl::OUString SAL_CALL tdmgr_getImplementationName();
107*b1cdbd2cSJim Jagielski } // namespace
108