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_USERSETTINGSDLG_HXX
30 #define _DBAUI_USERSETTINGSDLG_HXX
32 #ifndef _DBAUI_UNOADMIN_
33 #include "unoadmin.hxx"
36 //.........................................................................
39 //.........................................................................
40 //=========================================================================
41 //= OUserSettingsDialog
42 //=========================================================================
43 class OUserSettingsDialog
44 :public ODatabaseAdministrationDialog
45 ,public ::comphelper::OPropertyArrayUsageHelper
< OUserSettingsDialog
>
49 OUserSettingsDialog(const ::com::sun::star::uno::Reference
< ::com::sun::star::lang::XMultiServiceFactory
>& _rxORB
);
53 virtual ::com::sun::star::uno::Sequence
<sal_Int8
> SAL_CALL
getImplementationId( ) throw(::com::sun::star::uno::RuntimeException
);
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
>&);
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;
72 // OGenericUnoDialog overridables
73 virtual Dialog
* createDialog(Window
* _pParent
);
76 //.........................................................................
78 //.........................................................................
80 #endif // _DBAUI_USERSETTINGSDLG_HXX
82 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */