Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : *
9 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 :
20 : #include "ChartController.hxx"
21 : #include "ChartFrameloader.hxx"
22 : #include "dlg_CreationWizard_UNO.hxx"
23 : #include "dlg_ChartType_UNO.hxx"
24 : #include "ChartDocumentWrapper.hxx"
25 : #include "AccessibleChartView.hxx"
26 : #include "ElementSelector.hxx"
27 : #include "ShapeToolbarController.hxx"
28 : #include <cppuhelper/implementationentry.hxx>
29 :
30 : static const struct ::cppu::ImplementationEntry g_entries_chart2_controller[] =
31 : {
32 : {
33 : ::chart::ChartController::create
34 : , ::chart::ChartController::getImplementationName_Static
35 : , ::chart::ChartController::getSupportedServiceNames_Static
36 : , ::cppu::createSingleComponentFactory
37 : , 0
38 : , 0
39 : }
40 : ,{
41 : ::chart::ChartFrameLoader::create
42 : , ::chart::ChartFrameLoader::getImplementationName_Static
43 : , ::chart::ChartFrameLoader::getSupportedServiceNames_Static
44 : , ::cppu::createSingleComponentFactory
45 : , 0
46 : , 0
47 : }
48 : ,{
49 : ::chart::CreationWizardUnoDlg::create
50 : , ::chart::CreationWizardUnoDlg::getImplementationName_Static
51 : , ::chart::CreationWizardUnoDlg::getSupportedServiceNames_Static
52 : , ::cppu::createSingleComponentFactory
53 : , 0
54 : , 0
55 : }
56 : ,{
57 : ::chart::ChartTypeUnoDlg::Create
58 : , ::chart::ChartTypeUnoDlg::getImplementationName_Static
59 : , ::chart::ChartTypeUnoDlg::getSupportedServiceNames_Static
60 : , ::cppu::createSingleComponentFactory
61 : , 0
62 : , 0
63 : }
64 : ,{
65 : ::chart::wrapper::ChartDocumentWrapper::create
66 : , ::chart::wrapper::ChartDocumentWrapper::getImplementationName_Static
67 : , ::chart::wrapper::ChartDocumentWrapper::getSupportedServiceNames_Static
68 : , ::cppu::createSingleComponentFactory
69 : , 0
70 : , 0
71 : }
72 : ,{
73 : ::chart::ElementSelectorToolbarController::create
74 : , ::chart::ElementSelectorToolbarController::getImplementationName_Static
75 : , ::chart::ElementSelectorToolbarController::getSupportedServiceNames_Static
76 : , ::cppu::createSingleComponentFactory
77 : , 0
78 : , 0
79 : }
80 : ,{
81 : ::chart::ShapeToolbarController::create
82 : , ::chart::ShapeToolbarController::getImplementationName_Static
83 : , ::chart::ShapeToolbarController::getSupportedServiceNames_Static
84 : , ::cppu::createSingleComponentFactory
85 : , 0
86 : , 0
87 : }
88 : ,{ 0, 0, 0, 0, 0, 0 }
89 : };
90 :
91 : // component exports
92 : extern "C"
93 : {
94 0 : SAL_DLLPUBLIC_EXPORT void * SAL_CALL chartcontroller_component_getFactory(
95 : const sal_Char * pImplName, void * pServiceManager, void * pRegistryKey )
96 : {
97 : return ::cppu::component_getFactoryHelper(
98 0 : pImplName, pServiceManager, pRegistryKey , g_entries_chart2_controller );
99 : }
100 : }
101 :
102 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|