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