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 :
59 : //= OGroupBoxSI
60 :
61 :
62 0 : OUString OGroupBoxSI::getImplementationName() const
63 : {
64 0 : return OUString("org.openoffice.comp.dbp.OGroupBoxWizard");
65 : }
66 :
67 :
68 0 : Sequence< OUString > OGroupBoxSI::getServiceNames() const
69 : {
70 0 : Sequence< OUString > aReturn(1);
71 0 : aReturn[0] = "com.sun.star.sdb.GroupBoxAutoPilot";
72 0 : return aReturn;
73 : }
74 :
75 :
76 : //= OListComboSI
77 :
78 :
79 0 : OUString OListComboSI::getImplementationName() const
80 : {
81 0 : return OUString("org.openoffice.comp.dbp.OListComboWizard");
82 : }
83 :
84 :
85 0 : Sequence< OUString > OListComboSI::getServiceNames() const
86 : {
87 0 : Sequence< OUString > aReturn(1);
88 0 : aReturn[0] = "com.sun.star.sdb.ListComboBoxAutoPilot";
89 0 : return aReturn;
90 : }
91 :
92 :
93 : //= OGridSI
94 :
95 :
96 0 : OUString OGridSI::getImplementationName() const
97 : {
98 0 : return OUString("org.openoffice.comp.dbp.OGridWizard");
99 : }
100 :
101 :
102 0 : Sequence< OUString > OGridSI::getServiceNames() const
103 : {
104 0 : Sequence< OUString > aReturn(1);
105 0 : aReturn[0] = "com.sun.star.sdb.GridControlAutoPilot";
106 0 : return aReturn;
107 : }
108 :
109 :
110 0 : } // namespace dbp
111 :
112 :
113 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|