]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormText.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormText.h
1 // -*- C++ -*-
2 /**
3  * \file FormText.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMTEXT_H
13 #define FORMTEXT_H
14
15 #include "FormDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlCommand;
21 struct FD_text;
22
23 class FormText : public FormController<ControlCommand, FormView<FD_text> > {
24 public:
25         ///
26         FormText(Dialog &, std::string const & title, std::string const & label);
27 private:
28         /// Set the Params variable for the Controller.
29         virtual void apply();
30         /// Build the dialog.
31         virtual void build();
32         /// Update dialog before/whilst showing it.
33         virtual void update();
34
35         ///
36         std::string const label_;
37 };
38
39 } // namespace frontend
40 } // namespace lyx
41
42 #endif // FORMTEXT_H