1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 #ifndef INCLUDED_DBACCESS_SOURCE_UI_DLG_ADMINCONTROLS_HXX
21 #define INCLUDED_DBACCESS_SOURCE_UI_DLG_ADMINCONTROLS_HXX
23 #include "adminpages.hxx"
25 #include <vcl/edit.hxx>
26 #include <vcl/field.hxx>
27 #include <vcl/fixed.hxx>
29 #include <svtools/dialogcontrolling.hxx>
34 // MySQLNativeSettings
35 class MySQLNativeSettings
: public TabPage
38 VclPtr
<FixedText
> m_pDatabaseNameLabel
;
39 VclPtr
<Edit
> m_pDatabaseName
;
40 VclPtr
<RadioButton
> m_pHostPortRadio
;
41 VclPtr
<RadioButton
> m_pSocketRadio
;
42 VclPtr
<RadioButton
> m_pNamedPipeRadio
;
43 VclPtr
<FixedText
> m_pHostNameLabel
;
44 VclPtr
<Edit
> m_pHostName
;
45 VclPtr
<FixedText
> m_pPortLabel
;
46 VclPtr
<NumericField
> m_pPort
;
47 VclPtr
<FixedText
> m_pDefaultPort
;
48 VclPtr
<Edit
> m_pSocket
;
49 VclPtr
<Edit
> m_pNamedPipe
;
51 ::svt::ControlDependencyManager
52 m_aControlDependencies
;
55 MySQLNativeSettings( vcl::Window
& _rParent
, const Link
<>& _rControlModificationLink
);
56 virtual ~MySQLNativeSettings();
57 virtual void dispose() SAL_OVERRIDE
;
58 void fillControls( ::std::vector
< ISaveValueWrapper
* >& _rControlList
);
59 void fillWindows( ::std::vector
< ISaveValueWrapper
* >& _rControlList
);
61 bool FillItemSet( SfxItemSet
* _rCoreAttrs
);
62 void implInitControls( const SfxItemSet
& _rSet
);
64 bool canAdvance() const;
69 #endif // INCLUDED_DBACCESS_SOURCE_UI_DLG_ADMINCONTROLS_HXX
71 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */