]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormAboutlyx.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormAboutlyx.h
1 // -*- C++ -*-
2 /**
3  * \file FormAboutlyx.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  * \author Angus Leeming
9  *
10  * Full author contact details are available in file CREDITS.
11  */
12
13 #ifndef FORMABOUTLYX_H
14 #define FORMABOUTLYX_H
15
16 #include "FormDialogView.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 class ControlAboutlyx;
22 struct FD_aboutlyx;
23 struct FD_aboutlyx_version;
24 struct FD_aboutlyx_credits;
25 struct FD_aboutlyx_license;
26
27 /** This class provides an XForms implementation of the FormAboutlyx Dialog.
28  */
29 class FormAboutlyx
30         : public FormController<ControlAboutlyx, FormView<FD_aboutlyx> > {
31 public:
32         ///
33         FormAboutlyx(Dialog &);
34
35 private:
36         /// not needed.
37         virtual void apply() {}
38         /// not needed.
39         virtual void update() {}
40         /// Build the dialog
41         virtual void build();
42
43         /// Real GUI implementation.
44         boost::scoped_ptr<FD_aboutlyx_version> version_;
45         ///
46         boost::scoped_ptr<FD_aboutlyx_credits> credits_;
47         ///
48         boost::scoped_ptr<FD_aboutlyx_license> license_;
49 };
50
51 } // namespace frontend
52 } // namespace lyx
53
54 #endif // FORMABOUTLYX_H