bump product version to 6.3.0.0.beta1
[LibreOffice.git] / reportdesign / source / ui / misc / rptuiservices.cxx
blob622d45add21dd37cccf7d6552854bf948990408a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #include <cppuhelper/factory.hxx>
20 #include <cppuhelper/implementationentry.hxx>
21 #include <ReportController.hxx>
22 #include <statusbarcontroller.hxx>
23 #include <DefaultInspection.hxx>
24 #include <ReportComponentHandler.hxx>
25 #include <GeometryHandler.hxx>
26 #include <DataProviderHandler.hxx>
28 /********************************************************************************************/
30 using namespace ::rptui;
31 using namespace ::com::sun::star::uno;
32 using namespace ::com::sun::star::lang;
33 using namespace ::com::sun::star::registry;
36 // registry functions
37 namespace
40 cppu::ImplementationEntry const entries[] = {
41 { &OReportController::create, &OReportController::getImplementationName_Static, &OReportController::getSupportedServiceNames_Static,
42 &cppu::createSingleComponentFactory, nullptr, 0 },
43 { &OStatusbarController::create, &OStatusbarController::getImplementationName_Static, &OStatusbarController::getSupportedServiceNames_Static,
44 &cppu::createSingleComponentFactory, nullptr, 0 },
45 { &DefaultComponentInspectorModel::create, &DefaultComponentInspectorModel::getImplementationName_Static, &DefaultComponentInspectorModel::getSupportedServiceNames_static,
46 &cppu::createSingleComponentFactory, nullptr, 0 },
47 { &ReportComponentHandler::create, &ReportComponentHandler::getImplementationName_Static, &ReportComponentHandler::getSupportedServiceNames_static,
48 &cppu::createSingleComponentFactory, nullptr, 0 },
49 { &GeometryHandler::create, &GeometryHandler::getImplementationName_Static, &GeometryHandler::getSupportedServiceNames_static,
50 &cppu::createSingleComponentFactory, nullptr, 0 },
51 { &DataProviderHandler::create, &DataProviderHandler::getImplementationName_Static, &DataProviderHandler::getSupportedServiceNames_static,
52 &cppu::createSingleComponentFactory, nullptr, 0 },
53 { nullptr, nullptr, nullptr, nullptr, nullptr, 0 }
57 extern "C" SAL_DLLPUBLIC_EXPORT void * rptui_component_getFactory(
58 char const * implName, void * serviceManager, void * registryKey)
60 return cppu::component_getFactoryHelper(
61 implName, serviceManager, registryKey, entries);
64 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */