bump product version to 5.0.4.1
[LibreOffice.git] / extensions / source / dbpilots / wizardservices.cxx
blobd7169df6809ee3ff20609d62bd7c4b17b7545a90
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 SAL_CALL createRegistryInfo_OGroupBoxWizard()
32 static ::dbp::OMultiInstanceAutoRegistration<
33 ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI >
34 > aAutoRegistration;
37 extern "C" void SAL_CALL createRegistryInfo_OListComboWizard()
39 static ::dbp::OMultiInstanceAutoRegistration<
40 ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI >
41 > aAutoRegistration;
44 extern "C" void SAL_CALL createRegistryInfo_OGridWizard()
46 static ::dbp::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 OUString("org.openoffice.comp.dbp.OGroupBoxWizard");
64 Sequence< OUString > OGroupBoxSI::getServiceNames()
66 Sequence< OUString > aReturn(1);
67 aReturn[0] = "com.sun.star.sdb.GroupBoxAutoPilot";
68 return aReturn;
71 OUString OListComboSI::getImplementationName()
73 return OUString("org.openoffice.comp.dbp.OListComboWizard");
77 Sequence< OUString > OListComboSI::getServiceNames()
79 Sequence< OUString > aReturn(1);
80 aReturn[0] = "com.sun.star.sdb.ListComboBoxAutoPilot";
81 return aReturn;
84 OUString OGridSI::getImplementationName()
86 return OUString("org.openoffice.comp.dbp.OGridWizard");
90 Sequence< OUString > OGridSI::getServiceNames()
92 Sequence< OUString > aReturn(1);
93 aReturn[0] = "com.sun.star.sdb.GridControlAutoPilot";
94 return aReturn;
98 } // namespace dbp
101 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */