Branch data Line data Source code
1 : : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : : /*************************************************************************
3 : : *
4 : : * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 : : *
6 : : * Copyright 2000, 2010 Oracle and/or its affiliates.
7 : : *
8 : : * OpenOffice.org - a multi-platform office productivity suite
9 : : *
10 : : * This file is part of OpenOffice.org.
11 : : *
12 : : * OpenOffice.org is free software: you can redistribute it and/or modify
13 : : * it under the terms of the GNU Lesser General Public License version 3
14 : : * only, as published by the Free Software Foundation.
15 : : *
16 : : * OpenOffice.org is distributed in the hope that it will be useful,
17 : : * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 : : * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 : : * GNU Lesser General Public License version 3 for more details
20 : : * (a copy is included in the LICENSE file that accompanied this code).
21 : : *
22 : : * You should have received a copy of the GNU Lesser General Public License
23 : : * version 3 along with OpenOffice.org. If not, see
24 : : * <http://www.openoffice.org/license.html>
25 : : * for a copy of the LGPLv3 License.
26 : : *
27 : : ************************************************************************/
28 : :
29 : :
30 : : #include "wizardservices.hxx"
31 : : #include "unoautopilot.hxx"
32 : : #include "groupboxwiz.hxx"
33 : : #include "listcombowizard.hxx"
34 : : #include "gridwizard.hxx"
35 : :
36 : : // the registration methods
37 : 0 : extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard()
38 : : {
39 : : static ::dbp::OMultiInstanceAutoRegistration<
40 : : ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI >
41 : 0 : > aAutoRegistration;
42 : 0 : }
43 : :
44 : 0 : extern "C" void SAL_CALL createRegistryInfo_OListComboWizard()
45 : : {
46 : : static ::dbp::OMultiInstanceAutoRegistration<
47 : : ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI >
48 : 0 : > aAutoRegistration;
49 : 0 : }
50 : :
51 : 0 : extern "C" void SAL_CALL createRegistryInfo_OGridWizard()
52 : : {
53 : : static ::dbp::OMultiInstanceAutoRegistration<
54 : : ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI >
55 : 0 : > aAutoRegistration;
56 : 0 : }
57 : :
58 : : //.........................................................................
59 : : namespace dbp
60 : : {
61 : : //.........................................................................
62 : :
63 : : using namespace ::com::sun::star::uno;
64 : :
65 : : //=====================================================================
66 : : //= OGroupBoxSI
67 : : //=====================================================================
68 : : //---------------------------------------------------------------------
69 : 0 : ::rtl::OUString OGroupBoxSI::getImplementationName() const
70 : : {
71 : 0 : return ::rtl::OUString("org.openoffice.comp.dbp.OGroupBoxWizard");
72 : : }
73 : :
74 : : //---------------------------------------------------------------------
75 : 0 : Sequence< ::rtl::OUString > OGroupBoxSI::getServiceNames() const
76 : : {
77 : 0 : Sequence< ::rtl::OUString > aReturn(1);
78 : 0 : aReturn[0] = ::rtl::OUString("com.sun.star.sdb.GroupBoxAutoPilot");
79 : 0 : return aReturn;
80 : : }
81 : :
82 : : //=====================================================================
83 : : //= OListComboSI
84 : : //=====================================================================
85 : : //---------------------------------------------------------------------
86 : 0 : ::rtl::OUString OListComboSI::getImplementationName() const
87 : : {
88 : 0 : return ::rtl::OUString("org.openoffice.comp.dbp.OListComboWizard");
89 : : }
90 : :
91 : : //---------------------------------------------------------------------
92 : 0 : Sequence< ::rtl::OUString > OListComboSI::getServiceNames() const
93 : : {
94 : 0 : Sequence< ::rtl::OUString > aReturn(1);
95 : 0 : aReturn[0] = ::rtl::OUString("com.sun.star.sdb.ListComboBoxAutoPilot");
96 : 0 : return aReturn;
97 : : }
98 : :
99 : : //=====================================================================
100 : : //= OGridSI
101 : : //=====================================================================
102 : : //---------------------------------------------------------------------
103 : 0 : ::rtl::OUString OGridSI::getImplementationName() const
104 : : {
105 : 0 : return ::rtl::OUString("org.openoffice.comp.dbp.OGridWizard");
106 : : }
107 : :
108 : : //---------------------------------------------------------------------
109 : 0 : Sequence< ::rtl::OUString > OGridSI::getServiceNames() const
110 : : {
111 : 0 : Sequence< ::rtl::OUString > aReturn(1);
112 : 0 : aReturn[0] = ::rtl::OUString("com.sun.star.sdb.GridControlAutoPilot");
113 : 0 : return aReturn;
114 : : }
115 : :
116 : : //.........................................................................
117 : : } // namespace dbp
118 : : //.........................................................................
119 : :
120 : : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|