12722ceddSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
32722ceddSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
42722ceddSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
52722ceddSAndrew Rist  * distributed with this work for additional information
62722ceddSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
72722ceddSAndrew Rist  * to you under the Apache License, Version 2.0 (the
82722ceddSAndrew Rist  * "License"); you may not use this file except in compliance
92722ceddSAndrew Rist  * with the License.  You may obtain a copy of the License at
102722ceddSAndrew Rist  *
112722ceddSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
122722ceddSAndrew Rist  *
132722ceddSAndrew Rist  * Unless required by applicable law or agreed to in writing,
142722ceddSAndrew Rist  * software distributed under the License is distributed on an
152722ceddSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
162722ceddSAndrew Rist  * KIND, either express or implied.  See the License for the
172722ceddSAndrew Rist  * specific language governing permissions and limitations
182722ceddSAndrew Rist  * under the License.
192722ceddSAndrew Rist  *
202722ceddSAndrew Rist  *************************************************************/
212722ceddSAndrew Rist 
222722ceddSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir // MARKER(update_precomp.py): autogen include statement, do not remove
25cdf0e10cSrcweir #include "precompiled_desktop.hxx"
26cdf0e10cSrcweir 
27cdf0e10cSrcweir #include "cppuhelper/implementationentry.hxx"
28cdf0e10cSrcweir #include "basicmigration.hxx"
29cdf0e10cSrcweir #include "wordbookmigration.hxx"
30*5e679a6cSOliver-Rainer Wittmann #include "oo3extensionmigration.hxx"
31cdf0e10cSrcweir 
32cdf0e10cSrcweir extern "C"
33cdf0e10cSrcweir {
34cdf0e10cSrcweir 
35cdf0e10cSrcweir ::cppu::ImplementationEntry entries [] =
36cdf0e10cSrcweir {
37cdf0e10cSrcweir     {
38cdf0e10cSrcweir         migration::BasicMigration_create, migration::BasicMigration_getImplementationName,
39cdf0e10cSrcweir         migration::BasicMigration_getSupportedServiceNames, ::cppu::createSingleComponentFactory,
40cdf0e10cSrcweir         0, 0
41cdf0e10cSrcweir     },
42cdf0e10cSrcweir     {
43cdf0e10cSrcweir         migration::WordbookMigration_create, migration::WordbookMigration_getImplementationName,
44cdf0e10cSrcweir         migration::WordbookMigration_getSupportedServiceNames, ::cppu::createSingleComponentFactory,
45cdf0e10cSrcweir         0, 0
46cdf0e10cSrcweir     },
47*5e679a6cSOliver-Rainer Wittmann     {
48*5e679a6cSOliver-Rainer Wittmann         migration::OO3ExtensionMigration_create, migration::OO3ExtensionMigration_getImplementationName,
49*5e679a6cSOliver-Rainer Wittmann         migration::OO3ExtensionMigration_getSupportedServiceNames, ::cppu::createSingleComponentFactory,
50*5e679a6cSOliver-Rainer Wittmann         0, 0
51*5e679a6cSOliver-Rainer Wittmann     },
52cdf0e10cSrcweir 	{ 0, 0, 0, 0, 0, 0 }
53cdf0e10cSrcweir };
54cdf0e10cSrcweir 
55cdf0e10cSrcweir 
component_getImplementationEnvironment(const sal_Char ** ppEnvTypeName,uno_Environment **)56cdf0e10cSrcweir void SAL_CALL component_getImplementationEnvironment(
57cdf0e10cSrcweir 	const sal_Char ** ppEnvTypeName, uno_Environment ** )
58cdf0e10cSrcweir {
59cdf0e10cSrcweir 	*ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
60cdf0e10cSrcweir }
61cdf0e10cSrcweir 
component_getFactory(const sal_Char * pImplName,void * pServiceManager,void * pRegistryKey)62cdf0e10cSrcweir void * SAL_CALL component_getFactory(
63cdf0e10cSrcweir 	const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
64cdf0e10cSrcweir {
65cdf0e10cSrcweir 	return ::cppu::component_getFactoryHelper(
66cdf0e10cSrcweir         pImplName, pServiceManager, pRegistryKey, entries );
67cdf0e10cSrcweir }
68cdf0e10cSrcweir 
69cdf0e10cSrcweir }
70