]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormPreamble.h
Implemented controller-view split for minipage and preamble popups.
[lyx.git] / src / frontends / xforms / FormPreamble.h
1 /**
2  * \file FormPreamble.h
3  * Copyright 2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \author Edwin Leuven, leuven@fee.uva.nl
7  */
8
9 #ifndef FORMPREAMBLE_H
10 #define FORMPREAMBLE_H
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16 #include "FormBase.h"
17
18 class ControlPreamble;
19 struct FD_form_preamble;
20
21 /** This class provides an XForms implementation of the Preamble Dialog.
22  */
23 class FormPreamble : public FormCB<ControlPreamble, FormDB<FD_form_preamble> > {
24 public:
25         ///
26         FormPreamble(ControlPreamble &);
27 private:
28         /// Apply from popup
29         virtual void apply();
30         /// Build the popup
31         virtual void build();
32         /// Update the popup.
33         virtual void update();
34    
35         /// Fdesign generated method
36         FD_form_preamble * build_preamble();
37 };
38
39
40 #endif // FORMPREAMBLE_H