]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormAboutlyx.h
Yet more dialog tweaking from Rob.
[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 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 #include "FormBase.h"
21
22 #include <boost/scoped_ptr.hpp>
23
24 class ControlAboutlyx;
25 struct FD_aboutlyx;
26 struct FD_aboutlyx_version;
27 struct FD_aboutlyx_credits;
28 struct FD_aboutlyx_license;
29
30 /** This class provides an XForms implementation of the FormAboutlyx Dialog.
31  */
32 class FormAboutlyx : public FormCB<ControlAboutlyx, FormDB<FD_aboutlyx> > {
33 public:
34         ///
35         FormAboutlyx();
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         /// Real GUI implementation.
46         boost::scoped_ptr<FD_aboutlyx_version> version_;
47         ///
48         boost::scoped_ptr<FD_aboutlyx_credits> credits_;
49         ///
50         boost::scoped_ptr<FD_aboutlyx_license> license_;
51 };
52
53
54 #endif // FORMABOUTLYX_H