]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormVSpace.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormVSpace.h
1 // -*- C++ -*-
2 /**
3  * \file FormVSpace.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author André Pönitz
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORM_VSPACE_H
13 #define FORM_VSPACE_H
14
15 #include "FormDialogView.h"
16 #include "RadioButtonGroup.h"
17
18 namespace lyx {
19 namespace frontend {
20
21 struct FD_vspace;
22 class ControlVSpace;
23
24 /** This class provides an XForms implementation of the FormVSpace dialog.
25  */
26 class FormVSpace
27         : public FormController<ControlVSpace, FormView<FD_vspace> > {
28 public:
29         ///
30         FormVSpace(Dialog &);
31 private:
32         /// Build the dialog
33         virtual void build();
34         /// Apply from dialog
35         virtual void apply();
36         /// Update the dialog
37         virtual void update();
38
39         /// Filter the inputs on callback from xforms
40         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
41 };
42
43 } // namespace frontend
44 } // namespace lyx
45
46 #endif