Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
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 : */
9 :
10 : #ifndef INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
11 : #define INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
12 :
13 : #include <vcl/dialog.hxx>
14 :
15 : class Edit;
16 : class FixedText;
17 : class PushButton;
18 :
19 0 : class InputDialog : public ModalDialog
20 : {
21 : public:
22 : InputDialog (const OUString &labelText, Window *pParent = NULL);
23 : OUString getEntryText () const;
24 :
25 : private:
26 :
27 : DECL_LINK(ClickHdl, PushButton*);
28 :
29 : private:
30 :
31 : Edit *m_pEntry;
32 : FixedText *m_pLabel;
33 : PushButton *m_pOK;
34 : PushButton *m_pCancel;
35 : };
36 :
37 : #endif // INCLUDED_SFX2_SOURCE_INC_INPUTDLG_HXX
38 :
39 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|