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