]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormAboutlyx.h
1048f166dc459403eaa7c42e09e1c30608b040e3
[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@ic.ac.uk
9  */
10
11 #ifndef FORMABOUTLYX_H
12 #define FORMABOUTLYX_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "FormBase.h"
19
20 #include <boost/scoped_ptr.hpp>
21
22 class ControlAboutlyx;
23 struct FD_aboutlyx;
24 struct FD_aboutlyx_version;
25 struct FD_aboutlyx_credits;
26 struct FD_aboutlyx_license;
27
28 /** This class provides an XForms implementation of the FormAboutlyx Dialog.
29  */
30 class FormAboutlyx : public FormCB<ControlAboutlyx, FormDB<FD_aboutlyx> > {
31 public:
32         ///
33         FormAboutlyx();
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
52 #endif // FORMABOUTLYX_H