update dev300-m57
[ooovba.git] / chart2 / source / controller / main / _serviceregistration_controller.cxx
blobc3d95d8eff2bb58edec41ea6fc29b9e2a8e2e7ae
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: _serviceregistration_controller.cxx,v $
10 * $Revision: 1.8 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_chart2.hxx"
33 #include "ChartController.hxx"
34 #include "ChartFrameloader.hxx"
35 #include "dlg_CreationWizard_UNO.hxx"
36 #include "dlg_ChartType_UNO.hxx"
37 #include "ChartDocumentWrapper.hxx"
38 #include "AccessibleChartView.hxx"
39 #include <cppuhelper/implementationentry.hxx>
41 static struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
44 ::chart::ChartController::create
45 , ::chart::ChartController::getImplementationName_Static
46 , ::chart::ChartController::getSupportedServiceNames_Static
47 , ::cppu::createSingleComponentFactory
48 , 0
49 , 0
52 ::chart::ChartFrameLoader::create
53 , ::chart::ChartFrameLoader::getImplementationName_Static
54 , ::chart::ChartFrameLoader::getSupportedServiceNames_Static
55 , ::cppu::createSingleComponentFactory
56 , 0
57 , 0
60 ::chart::CreationWizardUnoDlg::create
61 , ::chart::CreationWizardUnoDlg::getImplementationName_Static
62 , ::chart::CreationWizardUnoDlg::getSupportedServiceNames_Static
63 , ::cppu::createSingleComponentFactory
64 , 0
65 , 0
68 ::chart::ChartTypeUnoDlg::Create
69 , ::chart::ChartTypeUnoDlg::getImplementationName_Static
70 , ::chart::ChartTypeUnoDlg::getSupportedServiceNames_Static
71 , ::cppu::createSingleComponentFactory
72 , 0
73 , 0
76 ::chart::wrapper::ChartDocumentWrapper::create
77 , ::chart::wrapper::ChartDocumentWrapper::getImplementationName_Static
78 , ::chart::wrapper::ChartDocumentWrapper::getSupportedServiceNames_Static
79 , ::cppu::createSingleComponentFactory
80 , 0
81 , 0
84 ::chart::AccessibleChartView::create
85 , ::chart::AccessibleChartView::getImplementationName_Static
86 , ::chart::AccessibleChartView::getSupportedServiceNames_Static
87 , ::cppu::createSingleComponentFactory
88 , 0
89 , 0
91 ,{ 0, 0, 0, 0, 0, 0 }
94 // component exports
95 extern "C"
97 //==================================================================================================
98 SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment(
99 const sal_Char ** ppEnvTypeName, uno_Environment ** /* ppEnv */ )
101 *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
103 //==================================================================================================
104 SAL_DLLPUBLIC_EXPORT sal_Bool SAL_CALL component_writeInfo(
105 void * pServiceManager, void * pRegistryKey )
107 return ::cppu::component_writeInfoHelper(
108 pServiceManager, pRegistryKey, g_entries_chart2_controller );
110 //==================================================================================================
111 SAL_DLLPUBLIC_EXPORT void * SAL_CALL component_getFactory(
112 const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
114 return ::cppu::component_getFactoryHelper(
115 pImplName, pServiceManager, pRegistryKey , g_entries_chart2_controller );
118 //=========================================================================