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 "sal/config.h"
21 :
22 : #include "dbpservices.hxx"
23 : #include "wizardservices.hxx"
24 : #include "unoautopilot.hxx"
25 : #include "groupboxwiz.hxx"
26 : #include "listcombowizard.hxx"
27 : #include "gridwizard.hxx"
28 :
29 : // the registration methods
30 0 : extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard()
31 : {
32 : static ::dbp::OMultiInstanceAutoRegistration<
33 : ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI >
34 0 : > aAutoRegistration;
35 0 : }
36 :
37 0 : extern "C" void SAL_CALL createRegistryInfo_OListComboWizard()
38 : {
39 : static ::dbp::OMultiInstanceAutoRegistration<
40 : ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI >
41 0 : > aAutoRegistration;
42 0 : }
43 :
44 0 : extern "C" void SAL_CALL createRegistryInfo_OGridWizard()
45 : {
46 : static ::dbp::OMultiInstanceAutoRegistration<
47 : ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI >
48 0 : > aAutoRegistration;
49 0 : }
50 :
51 :
52 : namespace dbp
53 : {
54 :
55 :
56 : using namespace ::com::sun::star::uno;
57 :
58 0 : OUString OGroupBoxSI::getImplementationName()
59 : {
60 0 : return OUString("org.openoffice.comp.dbp.OGroupBoxWizard");
61 : }
62 :
63 :
64 0 : Sequence< OUString > OGroupBoxSI::getServiceNames()
65 : {
66 0 : Sequence< OUString > aReturn(1);
67 0 : aReturn[0] = "com.sun.star.sdb.GroupBoxAutoPilot";
68 0 : return aReturn;
69 : }
70 :
71 0 : OUString OListComboSI::getImplementationName()
72 : {
73 0 : return OUString("org.openoffice.comp.dbp.OListComboWizard");
74 : }
75 :
76 :
77 0 : Sequence< OUString > OListComboSI::getServiceNames()
78 : {
79 0 : Sequence< OUString > aReturn(1);
80 0 : aReturn[0] = "com.sun.star.sdb.ListComboBoxAutoPilot";
81 0 : return aReturn;
82 : }
83 :
84 0 : OUString OGridSI::getImplementationName()
85 : {
86 0 : return OUString("org.openoffice.comp.dbp.OGridWizard");
87 : }
88 :
89 :
90 0 : Sequence< OUString > OGridSI::getServiceNames()
91 : {
92 0 : Sequence< OUString > aReturn(1);
93 0 : aReturn[0] = "com.sun.star.sdb.GridControlAutoPilot";
94 0 : return aReturn;
95 : }
96 :
97 :
98 0 : } // namespace dbp
99 :
100 :
101 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|