]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormBibitem.h
Implemented controller-view split for FormError and FormInclude.
[lyx.git] / src / frontends / xforms / FormBibitem.h
1 // -*- C++ -*-
2 /**
3  * \file FormBibitem.h
4  * Copyright 2001 the LyX Team
5  * Read the file COPYING
6  *
7  * \author John Levon, moz@compsoc.man.ac.uk
8  * \author Angus Leeming, a.leeming@.ac.uk
9  */
10
11 #ifndef FORMBIBITEM_H
12 #define FORMBIBITEM_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "FormBase.h"
19
20 class ControlBibitem;
21 struct FD_form_bibitem;
22
23 /**
24  * For bibliography entry editing
25  */
26 class FormBibitem : public FormCB<ControlBibitem, FormDB<FD_form_bibitem> > {
27 public:
28         ///
29         FormBibitem(ControlBibitem &);
30
31 private:
32         /// Set the Params variable for the Controller.
33         virtual void apply();
34         /// Build the dialog.
35         virtual void build();
36         /// Update dialog before/whilst showing it.
37         virtual void update();
38         /// Filter the inputs on callback from xforms
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40
41         /// Type definition from the fdesign produced header file.
42         FD_form_bibitem * build_bibitem();
43 };
44
45 #endif // FORMBIBITEM_H