]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormAboutlyx.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormAboutlyx.h
1 // -*- C++ -*-
2 /**
3  * \file FormAboutlyx.h
4  * Copyright 2001 The LyX Team.
5  * See the file COPYING.
6  *
7  * \author Edwin Leuven <leuven@fee.uva.nl>
8  * \author Angus Leeming <a.leeming@.ac.uk>
9  */
10
11 #ifndef FORMABOUTLYX_H
12 #define FORMABOUTLYX_H
13
14 #include <vector>
15 #include <boost/smart_ptr.hpp>
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21
22 #include "FormBase.h"
23
24 class ControlAboutlyx;
25 struct FD_form_aboutlyx;
26 struct FD_form_tab_version;
27 struct FD_form_tab_credits;
28 struct FD_form_tab_license;
29
30 /** This class provides an XForms implementation of the FormAboutlyx Dialog.
31  */
32 class FormAboutlyx : public FormCB<ControlAboutlyx, FormDB<FD_form_aboutlyx> > {
33 public:
34         ///
35         FormAboutlyx(ControlAboutlyx &);
36
37 private:
38         /// not needed.
39         virtual void apply() {}
40         /// not needed.
41         virtual void update() {}
42         /// Build the dialog
43         virtual void build();
44
45         ///
46         virtual FL_FORM * form() const;
47
48         /// Fdesign generated method
49         FD_form_aboutlyx * build_aboutlyx();
50         ///
51         FD_form_tab_version * build_tab_version();
52         ///
53         FD_form_tab_credits * build_tab_credits();
54         ///
55         FD_form_tab_license * build_tab_license();
56
57         /// Real GUI implementation.
58         boost::scoped_ptr<FD_form_aboutlyx> dialog_;
59         ///
60         boost::scoped_ptr<FD_form_tab_version> version_;
61         ///
62         boost::scoped_ptr<FD_form_tab_credits> credits_;
63         ///
64         boost::scoped_ptr<FD_form_tab_license> license_;
65 };
66
67 #endif // FORMABOUTLYX_H
68