diff options
author | Henry Castro <hcastro@collabora.com> | 2015-09-07 17:17:22 -0400 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-02-15 22:23:19 +0200 |
commit | 8d7f29a933b62ffd754c6a0f05d25e55b8646e74 (patch) | |
tree | 919b7a9fc955a3281ebe904502c67dbba63a06f7 /include/cppuhelper | |
parent | 6b41b89cc51b65fe3aa69099638ec4432782886a (diff) |
Re-work cppu::preInitBootstrap()
In the preinit stage, the preInitBootstrap is called to load
implementations for each service registered by the service manager.
All service requests are: initial Component Context and the process
service factory is set.
However, some services require that VCL is properly initialized.
Change-Id: Ib116e3da172b860f2df4d672f6181b5de0b7e6b2
Diffstat (limited to 'include/cppuhelper')
-rw-r--r-- | include/cppuhelper/detail/preinit.hxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/include/cppuhelper/detail/preinit.hxx b/include/cppuhelper/detail/preinit.hxx index b21929aa58d8..d152cf250003 100644 --- a/include/cppuhelper/detail/preinit.hxx +++ b/include/cppuhelper/detail/preinit.hxx @@ -17,8 +17,16 @@ namespace cppu #if defined LIBO_INTERNAL_ONLY +/** Preload all shared library components with service manager upon + information from bootstrap variables. + + This function tries to find its parameters via these bootstrap variables: + + - UNO_SERVICES -- a space separated list of file urls of service rdbs + +*/ CPPUHELPER_DLLPUBLIC void SAL_CALL -preInitBootstrap(); +preInitBootstrap(css::uno::Reference< css::uno::XComponentContext > const & xContext); #endif // LIBO_INTERNAL_ONLY |