From ff5224ef8e7d6c812640e5ae0374c8f99509330c Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Thu, 27 Sep 2007 11:55:24 +0000 Subject: INTEGRATION: CWS sb76 (1.1.2); FILE ADDED 2007/09/03 09:03:11 sb 1.1.2.2: #i77885# Missing namespaces. 2007/09/03 08:27:36 sb 1.1.2.1: #i77885# Wrong PRJNAME. --- stoc/inc/bootstrapservices.hxx | 119 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 stoc/inc/bootstrapservices.hxx (limited to 'stoc/inc') diff --git a/stoc/inc/bootstrapservices.hxx b/stoc/inc/bootstrapservices.hxx new file mode 100644 index 000000000000..89dc6cedce03 --- /dev/null +++ b/stoc/inc/bootstrapservices.hxx @@ -0,0 +1,119 @@ +/************************************************************************* + * + * OpenOffice.org - a multi-platform office productivity suite + * + * $RCSfile: bootstrapservices.hxx,v $ + * + * $Revision: 1.2 $ + * + * last change: $Author: hr $ $Date: 2007-09-27 12:55:24 $ + * + * The Contents of this file are made available subject to + * the terms of GNU Lesser General Public License Version 2.1. + * + * + * GNU Lesser General Public License Version 2.1 + * ============================================= + * Copyright 2005 by Sun Microsystems, Inc. + * 901 San Antonio Road, Palo Alto, CA 94303, USA + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License version 2.1, as published by the Free Software Foundation. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, + * MA 02111-1307 USA + * + ************************************************************************/ + +// MARKER(update_precomp.py): autogen include statement, do not remove +#include "precompiled_stoc.hxx" + +#include +#include +#include +#include + +namespace com { namespace sun { namespace star { namespace uno { + class XInterface; + class XComponentContext; +} } } } + +namespace stoc_bootstrap +{ + //servicemanager + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OServiceManager_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext ); + ::com::sun::star::uno::Sequence< ::rtl::OUString > smgr_wrapper_getSupportedServiceNames(); + ::rtl::OUString smgr_wrapper_getImplementationName(); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL OServiceManagerWrapper_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext ) + throw (::com::sun::star::uno::Exception); + ::com::sun::star::uno::Sequence< ::rtl::OUString > smgr_getSupportedServiceNames(); + ::rtl::OUString smgr_getImplementationName(); + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ORegistryServiceManager_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & xContext ) + throw(::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException); + ::com::sun::star::uno::Sequence< ::rtl::OUString > regsmgr_getSupportedServiceNames(); + ::rtl::OUString regsmgr_getImplementationName(); + + //security + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ac_create( + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xComponentContext ) + SAL_THROW( (::com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Sequence< ::rtl::OUString > ac_getSupportedServiceNames() SAL_THROW( () ); + ::rtl::OUString ac_getImplementationName() SAL_THROW( () ); + + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL filepolicy_create( + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > const & xComponentContext ) + SAL_THROW( (com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Sequence< rtl::OUString > filepolicy_getSupportedServiceNames() SAL_THROW( () ); + ::rtl::OUString filepolicy_getImplementationName() SAL_THROW( () ); + + //defaultregistry + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL NestedRegistry_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ) + throw( ::com::sun::star::uno::Exception); + ::com::sun::star::uno::Sequence< ::rtl::OUString > defreg_getSupportedServiceNames(); + ::rtl::OUString defreg_getImplementationName(); + + //simpleregistry + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SimpleRegistry_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ); + ::com::sun::star::uno::Sequence< ::rtl::OUString > simreg_getSupportedServiceNames(); + ::rtl::OUString simreg_getImplementationName(); + + //implementationregistry + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ImplementationRegistration_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ); // throw(Exception) + ::com::sun::star::uno::Sequence< ::rtl::OUString > impreg_getSupportedServiceNames(); + ::rtl::OUString impreg_getImplementationName(); + + //loader + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL DllComponentLoader_CreateInstance( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ) + throw(::com::sun::star::uno::Exception); + ::com::sun::star::uno::Sequence< ::rtl::OUString > loader_getSupportedServiceNames(); + ::rtl::OUString loader_getImplementationName(); + + //registry_tdprovider + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ProviderImpl_create( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ) + throw(::com::sun::star::uno::Exception); + ::com::sun::star::uno::Sequence< ::rtl::OUString > rdbtdp_getSupportedServiceNames(); + ::rtl::OUString rdbtdp_getImplementationName(); + + //tdmanager + ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL ManagerImpl_create( + const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& ) + SAL_THROW( (::com::sun::star::uno::Exception) ); + ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL tdmgr_getSupportedServiceNames(); + ::rtl::OUString SAL_CALL tdmgr_getImplementationName(); +} // namespace -- cgit v1.2.3