]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormPreamble.h
Convert the preamble dialog to the Dialog-based scheme.
[lyx.git] / src / frontends / xforms / FormPreamble.h
1 // -*- C++ -*-
2 /**
3  * \file FormPreamble.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  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMPREAMBLE_H
13 #define FORMPREAMBLE_H
14
15 #include "FormDialogView.h"
16
17 class ControlPreamble;
18 struct FD_preamble;
19
20 /** This class provides an XForms implementation of the Preamble Dialog.
21  */
22 class FormPreamble
23         : public FormController<ControlPreamble, FormView<FD_preamble> > {
24 public:
25         ///
26         FormPreamble(Dialog &);
27 private:
28         /// Apply from dialog
29         virtual void apply();
30         /// Build the dialog
31         virtual void build();
32         /// Update the dialog
33         virtual void update();
34 };
35
36
37 #endif // FORMPREAMBLE_H