diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2012-12-20 09:58:06 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2012-12-20 10:02:38 +0100 |
commit | e3982fc537aa46595def41250526c331a02cd4e6 (patch) | |
tree | 6cf9540a9540190be9ea63d2a7db48ad3aba9e9b /cppuhelper/inc | |
parent | 6f1541dfb3b7732af6da3604c6d9e240eaf54cb4 (diff) |
API CHANGE: Remove deprecated cppuhelper/bootstrap.hxx functionality
cppu::createSimpleRegistry, cppu::createNestedRegistry, and
cppu::bootstrap_InitialComponentContext for registry-based type/service
information, superseded by cppu::defaultBootstrap_InitialComponentContext.
Aborting stubs for the three functions are left in cppuhelper/source/compat.cxx
to avoid having to incompatibly change cppuhelper/source/gcc3.map.
Change-Id: I8e714c021c246b15a6e6fb7f25d754dceff17c8a
Diffstat (limited to 'cppuhelper/inc')
-rw-r--r-- | cppuhelper/inc/cppuhelper/bootstrap.hxx | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/cppuhelper/inc/cppuhelper/bootstrap.hxx b/cppuhelper/inc/cppuhelper/bootstrap.hxx index 995468a1220d..d76379a2f3e3 100644 --- a/cppuhelper/inc/cppuhelper/bootstrap.hxx +++ b/cppuhelper/inc/cppuhelper/bootstrap.hxx @@ -28,41 +28,12 @@ namespace com { namespace sun { namespace star { namespace container { class XHierarchicalNameAccess; } - namespace registry { class XSimpleRegistry; } namespace uno { class XComponentContext; } } } } namespace cppu { -/** Creates a simple registry service instance. - - @rBootstrapPath optional bootstrap path for initial components - @return simple registry service instance - - @deprecated Registry-based type/service information is successively - replaced with more modern formats; client code should exclusively use - ::cppu::defaultBootstrap_InitialComponentContext (or ::cppu::bootstrap). -*/ -CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > -SAL_CALL createSimpleRegistry( - const ::rtl::OUString & rBootstrapPath = ::rtl::OUString() ) - SAL_THROW(()); - -/** Creates a nested registry service instance. - - @rBootstrapPath optional bootstrap path for initial components - @return nested registry service instance - - @deprecated Registry-based type/service information is successively - replaced with more modern formats; client code should exclusively use - ::cppu::defaultBootstrap_InitialComponentContext (or ::cppu::bootstrap). -*/ -CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > -SAL_CALL createNestedRegistry( - const ::rtl::OUString & rBootstrapPath = ::rtl::OUString() ) - SAL_THROW(()); - /** Installs type description manager instance, i.e. registers a callback at cppu core. @param xTDMgr manager instance @@ -72,28 +43,6 @@ CPPUHELPER_DLLPUBLIC sal_Bool SAL_CALL installTypeDescriptionManager( ::com::sun::star::uno::Reference< ::com::sun::star::container::XHierarchicalNameAccess > const & xTDMgr ) SAL_THROW(()); -/** Bootstraps an initial component context with service manager upon a given registry. - This includes insertion of initial services: - - (registry) service manager, shared lib loader, - - simple registry, nested registry, - - implementation registration - - registry typedescription provider, typedescription manager (also installs it into cppu core) - - @param xRegistry registry for service manager and singleton objects of context (may be null) - @param rBootstrapPath optional bootstrap path for initial components - @return component context - - @deprecated Registry-based type/service information is successively - replaced with more modern formats; client code should exclusively use - ::cppu::defaultBootstrap_InitialComponentContext (or ::cppu::bootstrap). -*/ -CPPUHELPER_DLLPUBLIC ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > SAL_CALL -bootstrap_InitialComponentContext( - ::com::sun::star::uno::Reference< ::com::sun::star::registry::XSimpleRegistry > const & xRegistry, - ::rtl::OUString const & rBootstrapPath = ::rtl::OUString() ) - SAL_THROW( (::com::sun::star::uno::Exception) ); - - /** Bootstraps an initial component context with service manager upon information from bootstrap variables. |