]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormBibitem.h
Bugfixes: checkboxes to radiobuttons (from J�rgen S) and remove a little
[lyx.git] / src / frontends / xforms / FormBibitem.h
index f103d12e27fc7e5eea4e44ab3ef0d882ca7dde7a..9599fbc85a6d454a820995a8fd3315f3ab9ce27a 100644 (file)
@@ -4,8 +4,8 @@
  * Copyright 2001 the LyX Team
  * Read the file COPYING
  *
- * \author Angus Leeming
- * \author John Levon
+ * \author John Levon, moz@compsoc.man.ac.uk
+ * \author Angus Leeming, a.leeming@.ac.uk
  */
 
 #ifndef FORMBIBITEM_H
 
 #include "FormBase.h"
 
-#include "form_bibitem.h"
-
 class ControlBibitem;
+struct FD_form_bibitem;
 
 /**
  * For bibliography entry editing
  */
-class FormBibitem : public FormBase2<ControlBibitem, FD_form_bibitem> {
+class FormBibitem : public FormCB<ControlBibitem, FormDB<FD_form_bibitem> > {
 public:
        ///
        FormBibitem(ControlBibitem &);
 
-       // Functions accessible to the Controller.
-
+private:
        /// Set the Params variable for the Controller.
        virtual void apply();
        /// Build the dialog.
        virtual void build();
        /// Update dialog before/whilst showing it.
        virtual void update();
-
-private:
        /// Filter the inputs on callback from xforms
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 
-       /// Type definition from the fdesign produced header file.
+       /// Fdesign generated method
        FD_form_bibitem * build_bibitem();
 };