bump product version to 5.0.4.1
[LibreOffice.git] / sfx2 / source / inc / inputdlg.hxx
blob41888d44d3c9ebc3939e51189086294d1a3a5f5a
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
11 #define INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
13 #include <vcl/dialog.hxx>
15 class Edit;
16 class FixedText;
17 class PushButton;
19 class InputDialog : public ModalDialog
21 public:
22 InputDialog (const OUString &labelText, vcl::Window *pParent = NULL);
23 OUString getEntryText () const;
24 virtual ~InputDialog();
25 virtual void dispose() SAL_OVERRIDE;
27 private:
29 DECL_LINK(ClickHdl, PushButton*);
31 private:
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: */