Version 3.6.0.2, tag libreoffice-3.6.0.2
[LibreOffice.git] / dbaccess / source / ui / uno / DBTypeWizDlg.hxx
blobd34ed1b61c9bdee7a3e37b0c9fa44b27dee0a8c7
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*************************************************************************
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
6 * Copyright 2000, 2010 Oracle and/or its affiliates.
8 * OpenOffice.org - a multi-platform office productivity suite
10 * This file is part of OpenOffice.org.
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.
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).
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.
27 ************************************************************************/
29 #ifndef DBAUI_DBTYPEWIZDLG_HXX
30 #define DBAUI_DBTYPEWIZDLG_HXX
32 #ifndef _DBAUI_UNOADMIN_
33 #include "unoadmin.hxx"
34 #endif
36 //.........................................................................
37 namespace dbaui
39 //.........................................................................
40 //=========================================================================
41 //= ODBTypeWizDialog
42 //=========================================================================
43 class ODBTypeWizDialog
44 :public ODatabaseAdministrationDialog
45 ,public ::comphelper::OPropertyArrayUsageHelper< ODBTypeWizDialog >
48 protected:
49 ODBTypeWizDialog(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxORB);
51 public:
52 // XTypeProvider
53 virtual ::com::sun::star::uno::Sequence<sal_Int8> SAL_CALL getImplementationId( ) throw(::com::sun::star::uno::RuntimeException);
55 // XServiceInfo
56 virtual ::rtl::OUString SAL_CALL getImplementationName() throw(::com::sun::star::uno::RuntimeException);
57 virtual ::comphelper::StringSequence SAL_CALL getSupportedServiceNames() throw(::com::sun::star::uno::RuntimeException);
59 // XServiceInfo - static methods
60 static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static(void) throw( ::com::sun::star::uno::RuntimeException );
61 static ::rtl::OUString getImplementationName_Static(void) throw( ::com::sun::star::uno::RuntimeException );
62 static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
63 SAL_CALL Create(const ::com::sun::star::uno::Reference< com::sun::star::lang::XMultiServiceFactory >&);
65 // XPropertySet
66 virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo> SAL_CALL getPropertySetInfo() throw(::com::sun::star::uno::RuntimeException);
67 virtual ::cppu::IPropertyArrayHelper& SAL_CALL getInfoHelper();
69 // OPropertyArrayUsageHelper
70 virtual ::cppu::IPropertyArrayHelper* createArrayHelper( ) const;
71 protected:
72 // OGenericUnoDialog overridables
73 virtual Dialog* createDialog(Window* _pParent);
76 //.........................................................................
77 } // namespace dbaui
78 //.........................................................................
80 #endif // DBAUI_DBTYPEWIZDLG_HXX
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */