diff options
author | Joachim Lingner <jl@openoffice.org> | 2010-06-16 16:20:29 +0200 |
---|---|---|
committer | Joachim Lingner <jl@openoffice.org> | 2010-06-16 16:20:29 +0200 |
commit | cc52d020ea42b235f30573581aeae4491c3fa297 (patch) | |
tree | 95ac019ff482a25702ef3a81e87234722d761e35 /configmgr/source/services.cxx | |
parent | 27908970ce3c92d8be0a01f1d522500a0a1b7100 (diff) | |
parent | 79fa123bd79e794dfa9bf57e1df28ff46b16671d (diff) |
jl153 merge with DEV300_m82
Diffstat (limited to 'configmgr/source/services.cxx')
-rw-r--r-- | configmgr/source/services.cxx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/configmgr/source/services.cxx b/configmgr/source/services.cxx index 3a009b3cee15..f8c3289664ef 100644 --- a/configmgr/source/services.cxx +++ b/configmgr/source/services.cxx @@ -44,6 +44,7 @@ #include "configurationprovider.hxx" #include "configurationregistry.hxx" #include "defaultprovider.hxx" +#include "update.hxx" namespace { @@ -67,6 +68,9 @@ static cppu::ImplementationEntry const services[] = { { &dummy, &configmgr::configuration_registry::getImplementationName, &configmgr::configuration_registry::getSupportedServiceNames, &configmgr::configuration_registry::createFactory, 0, 0 }, + { &dummy, &configmgr::update::getImplementationName, + &configmgr::update::getSupportedServiceNames, + &configmgr::update::createFactory, 0, 0 }, { 0, 0, 0, 0, 0, 0 } }; @@ -107,6 +111,19 @@ extern "C" SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.DefaultProvider"))); + css::uno::Reference< css::registry::XRegistryKey >( + (css::uno::Reference< css::registry::XRegistryKey >( + static_cast< css::registry::XRegistryKey * >(pRegistryKey))-> + createKey( + rtl::OUString( + RTL_CONSTASCII_USTRINGPARAM( + "/com.sun.star.comp.configuration.Update/UNO/" + "SINGLETONS/com.sun.star.configuration.Update")))), + css::uno::UNO_SET_THROW)-> + setStringValue( + rtl::OUString( + RTL_CONSTASCII_USTRINGPARAM( + "com.sun.star.configuration.Update_Service"))); } catch (css::uno::Exception & e) { (void) e; OSL_TRACE( |