Update ooo320-m1
[ooovba.git] / stoc / inc / bootstrapservices.hxx
blob69cbec96f74e9302bac95ed8e491872406e24d81
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: bootstrapservices.hxx,v $
10 * $Revision: 1.3 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_stoc.hxx"
34 #include <rtl/ustring.hxx>
35 #include <com/sun/star/uno/Sequence.hxx>
36 #include <com/sun/star/uno/Reference.hxx>
37 #include <com/sun/star/uno/RuntimeException.hpp>
39 namespace com { namespace sun { namespace star { namespace uno {
40 class XInterface;
41 class XComponentContext;
42 } } } }
44 namespace stoc_bootstrap
46 //servicemanager
47 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OServiceManager_CreateInstance(
48 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext );
49 ::com::sun::star::uno::Sequence< ::rtl::OUString > smgr_wrapper_getSupportedServiceNames();
50 ::rtl::OUString smgr_wrapper_getImplementationName();
51 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OServiceManagerWrapper_CreateInstance(
52 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext )
53 throw (::com::sun::star::uno::Exception);
54 ::com::sun::star::uno::Sequence< ::rtl::OUString > smgr_getSupportedServiceNames();
55 ::rtl::OUString smgr_getImplementationName();
56 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ORegistryServiceManager_CreateInstance(
57 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext )
58 throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
59 ::com::sun::star::uno::Sequence< ::rtl::OUString > regsmgr_getSupportedServiceNames();
60 ::rtl::OUString regsmgr_getImplementationName();
62 //security
63 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ac_create(
64 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xComponentContext )
65 SAL_THROW( (::com::sun::star::uno::Exception) );
66 ::com::sun::star::uno::Sequence< ::rtl::OUString > ac_getSupportedServiceNames() SAL_THROW( () );
67 ::rtl::OUString ac_getImplementationName() SAL_THROW( () );
69 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL filepolicy_create(
70 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xComponentContext )
71 SAL_THROW( (com::sun::star::uno::Exception) );
72 ::com::sun::star::uno::Sequence< rtl::OUString > filepolicy_getSupportedServiceNames() SAL_THROW( () );
73 ::rtl::OUString filepolicy_getImplementationName() SAL_THROW( () );
75 //defaultregistry
76 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL NestedRegistry_CreateInstance(
77 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
78 throw( ::com::sun::star::uno::Exception);
79 ::com::sun::star::uno::Sequence< ::rtl::OUString > defreg_getSupportedServiceNames();
80 ::rtl::OUString defreg_getImplementationName();
82 //simpleregistry
83 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SimpleRegistry_CreateInstance(
84 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& );
85 ::com::sun::star::uno::Sequence< ::rtl::OUString > simreg_getSupportedServiceNames();
86 ::rtl::OUString simreg_getImplementationName();
88 //implementationregistry
89 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ImplementationRegistration_CreateInstance(
90 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ); // throw(Exception)
91 ::com::sun::star::uno::Sequence< ::rtl::OUString > impreg_getSupportedServiceNames();
92 ::rtl::OUString impreg_getImplementationName();
94 //loader
95 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL DllComponentLoader_CreateInstance(
96 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
97 throw(::com::sun::star::uno::Exception);
98 ::com::sun::star::uno::Sequence< ::rtl::OUString > loader_getSupportedServiceNames();
99 ::rtl::OUString loader_getImplementationName();
101 //registry_tdprovider
102 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ProviderImpl_create(
103 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
104 throw(::com::sun::star::uno::Exception);
105 ::com::sun::star::uno::Sequence< ::rtl::OUString > rdbtdp_getSupportedServiceNames();
106 ::rtl::OUString rdbtdp_getImplementationName();
108 //tdmanager
109 ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ManagerImpl_create(
110 const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& )
111 SAL_THROW( (::com::sun::star::uno::Exception) );
112 ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL tdmgr_getSupportedServiceNames();
113 ::rtl::OUString SAL_CALL tdmgr_getImplementationName();
114 } // namespace