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