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/.
10 #ifndef INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
11 #define INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
13 #include <vcl/dialog.hxx>
19 class InputDialog
: public ModalDialog
22 InputDialog (const OUString
&labelText
, vcl::Window
*pParent
= NULL
);
23 OUString
getEntryText () const;
24 virtual ~InputDialog();
25 virtual void dispose() SAL_OVERRIDE
;
29 DECL_LINK(ClickHdl
, PushButton
*);
33 VclPtr
<Edit
> m_pEntry
;
34 VclPtr
<FixedText
> m_pLabel
;
35 VclPtr
<PushButton
> m_pOK
;
36 VclPtr
<PushButton
> m_pCancel
;
39 #endif // INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */