]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormAboutlyx.h
change some __GNUG_ to __GNUG__
[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 #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         /// Fdesign generated method
46         FD_form_aboutlyx * build_aboutlyx();
47         ///
48         FD_form_tab_version * build_tab_version();
49         ///
50         FD_form_tab_credits * build_tab_credits();
51         ///
52         FD_form_tab_license * build_tab_license();
53
54         /// Real GUI implementation.
55         boost::scoped_ptr<FD_form_tab_version> version_;
56         ///
57         boost::scoped_ptr<FD_form_tab_credits> credits_;
58         ///
59         boost::scoped_ptr<FD_form_tab_license> license_;
60 };
61
62 #endif // FORMABOUTLYX_H