merged tag ooo/OOO330_m14
[LibreOffice.git] / extensions / source / dbpilots / wizardservices.cxx
blob36af518fc44f27541dd6c7f9525302affbc92fcf
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
28 // MARKER(update_precomp.py): autogen include statement, do not remove
29 #include "precompiled_extensions.hxx"
31 #ifndef _EXTENSIONS_DBP_WIZARDSERVICES_HXX_
32 #include "wizardservices.hxx"
33 #endif
34 #include "unoautopilot.hxx"
35 #include "groupboxwiz.hxx"
36 #include "listcombowizard.hxx"
37 #include "gridwizard.hxx"
39 // the registration methods
40 extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard()
42 static ::dbp::OMultiInstanceAutoRegistration<
43 ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI >
44 > aAutoRegistration;
47 extern "C" void SAL_CALL createRegistryInfo_OListComboWizard()
49 static ::dbp::OMultiInstanceAutoRegistration<
50 ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI >
51 > aAutoRegistration;
54 extern "C" void SAL_CALL createRegistryInfo_OGridWizard()
56 static ::dbp::OMultiInstanceAutoRegistration<
57 ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI >
58 > aAutoRegistration;
61 //.........................................................................
62 namespace dbp
64 //.........................................................................
66 using namespace ::com::sun::star::uno;
68 //=====================================================================
69 //= OGroupBoxSI
70 //=====================================================================
71 //---------------------------------------------------------------------
72 ::rtl::OUString OGroupBoxSI::getImplementationName() const
74 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGroupBoxWizard");
77 //---------------------------------------------------------------------
78 Sequence< ::rtl::OUString > OGroupBoxSI::getServiceNames() const
80 Sequence< ::rtl::OUString > aReturn(1);
81 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GroupBoxAutoPilot");
82 return aReturn;
85 //=====================================================================
86 //= OListComboSI
87 //=====================================================================
88 //---------------------------------------------------------------------
89 ::rtl::OUString OListComboSI::getImplementationName() const
91 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OListComboWizard");
94 //---------------------------------------------------------------------
95 Sequence< ::rtl::OUString > OListComboSI::getServiceNames() const
97 Sequence< ::rtl::OUString > aReturn(1);
98 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.ListComboBoxAutoPilot");
99 return aReturn;
102 //=====================================================================
103 //= OGridSI
104 //=====================================================================
105 //---------------------------------------------------------------------
106 ::rtl::OUString OGridSI::getImplementationName() const
108 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGridWizard");
111 //---------------------------------------------------------------------
112 Sequence< ::rtl::OUString > OGridSI::getServiceNames() const
114 Sequence< ::rtl::OUString > aReturn(1);
115 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GridControlAutoPilot");
116 return aReturn;
119 //.........................................................................
120 } // namespace dbp
121 //.........................................................................