Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / extensions / source / dbpilots / wizardservices.cxx
blob2f7b91b45a36c755a9282537338743e50c65cf38
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 .
20 #include <sal/config.h>
22 #include "dbpservices.hxx"
23 #include "wizardservices.hxx"
24 #include "unoautopilot.hxx"
25 #include "groupboxwiz.hxx"
26 #include "listcombowizard.hxx"
27 #include "gridwizard.hxx"
29 // the registration methods
30 extern "C" void createRegistryInfo_OGroupBoxWizard()
32 static compmodule::OMultiInstanceAutoRegistration<
33 ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI >
34 > aAutoRegistration;
37 extern "C" void createRegistryInfo_OListComboWizard()
39 static compmodule::OMultiInstanceAutoRegistration<
40 ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI >
41 > aAutoRegistration;
44 extern "C" void createRegistryInfo_OGridWizard()
46 static compmodule::OMultiInstanceAutoRegistration<
47 ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI >
48 > aAutoRegistration;
52 namespace dbp
56 using namespace ::com::sun::star::uno;
58 OUString OGroupBoxSI::getImplementationName()
60 return "org.openoffice.comp.dbp.OGroupBoxWizard";
64 Sequence< OUString > OGroupBoxSI::getServiceNames()
66 Sequence< OUString > aReturn { "com.sun.star.sdb.GroupBoxAutoPilot" };
67 return aReturn;
70 OUString OListComboSI::getImplementationName()
72 return "org.openoffice.comp.dbp.OListComboWizard";
76 Sequence< OUString > OListComboSI::getServiceNames()
78 Sequence< OUString > aReturn { "com.sun.star.sdb.ListComboBoxAutoPilot" };
79 return aReturn;
82 OUString OGridSI::getImplementationName()
84 return "org.openoffice.comp.dbp.OGridWizard";
88 Sequence< OUString > OGridSI::getServiceNames()
90 Sequence< OUString > aReturn { "com.sun.star.sdb.GridControlAutoPilot" };
91 return aReturn;
95 } // namespace dbp
98 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */