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