Update ooo320-m1
[ooovba.git] / extensions / source / dbpilots / wizardservices.cxx
blob11b052bd332fe9248eea4dc92a7c0fc0bb8a16f1
1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: wizardservices.cxx,v $
10 * $Revision: 1.7 $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
31 // MARKER(update_precomp.py): autogen include statement, do not remove
32 #include "precompiled_extensions.hxx"
34 #ifndef _EXTENSIONS_DBP_WIZARDSERVICES_HXX_
35 #include "wizardservices.hxx"
36 #endif
37 #include "unoautopilot.hxx"
38 #include "groupboxwiz.hxx"
39 #include "listcombowizard.hxx"
40 #include "gridwizard.hxx"
42 // the registration methods
43 extern "C" void SAL_CALL createRegistryInfo_OGroupBoxWizard()
45 static ::dbp::OMultiInstanceAutoRegistration<
46 ::dbp::OUnoAutoPilot< ::dbp::OGroupBoxWizard, ::dbp::OGroupBoxSI >
47 > aAutoRegistration;
50 extern "C" void SAL_CALL createRegistryInfo_OListComboWizard()
52 static ::dbp::OMultiInstanceAutoRegistration<
53 ::dbp::OUnoAutoPilot< ::dbp::OListComboWizard, ::dbp::OListComboSI >
54 > aAutoRegistration;
57 extern "C" void SAL_CALL createRegistryInfo_OGridWizard()
59 static ::dbp::OMultiInstanceAutoRegistration<
60 ::dbp::OUnoAutoPilot< ::dbp::OGridWizard, ::dbp::OGridSI >
61 > aAutoRegistration;
64 //.........................................................................
65 namespace dbp
67 //.........................................................................
69 using namespace ::com::sun::star::uno;
71 //=====================================================================
72 //= OGroupBoxSI
73 //=====================================================================
74 //---------------------------------------------------------------------
75 ::rtl::OUString OGroupBoxSI::getImplementationName() const
77 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGroupBoxWizard");
80 //---------------------------------------------------------------------
81 Sequence< ::rtl::OUString > OGroupBoxSI::getServiceNames() const
83 Sequence< ::rtl::OUString > aReturn(1);
84 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GroupBoxAutoPilot");
85 return aReturn;
88 //=====================================================================
89 //= OListComboSI
90 //=====================================================================
91 //---------------------------------------------------------------------
92 ::rtl::OUString OListComboSI::getImplementationName() const
94 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OListComboWizard");
97 //---------------------------------------------------------------------
98 Sequence< ::rtl::OUString > OListComboSI::getServiceNames() const
100 Sequence< ::rtl::OUString > aReturn(1);
101 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.ListComboBoxAutoPilot");
102 return aReturn;
105 //=====================================================================
106 //= OGridSI
107 //=====================================================================
108 //---------------------------------------------------------------------
109 ::rtl::OUString OGridSI::getImplementationName() const
111 return ::rtl::OUString::createFromAscii("org.openoffice.comp.dbp.OGridWizard");
114 //---------------------------------------------------------------------
115 Sequence< ::rtl::OUString > OGridSI::getServiceNames() const
117 Sequence< ::rtl::OUString > aReturn(1);
118 aReturn[0] = ::rtl::OUString::createFromAscii("com.sun.star.sdb.GridControlAutoPilot");
119 return aReturn;
122 //.........................................................................
123 } // namespace dbp
124 //.........................................................................