+// -*- C++ -*-
/**
* \file FormBibitem.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@.ac.uk
+ * \author John Levon
+ * \author Angus Leeming
+ *
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMBIBITEM_H
#define FORMBIBITEM_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "FormBase.h"
+#include "FormDialogView.h"
-class ControlBibitem;
-struct FD_form_bibitem;
+class ControlCommand;
+struct FD_bibitem;
/**
* For bibliography entry editing
*/
-class FormBibitem : public FormCB<ControlBibitem, FormDB<FD_form_bibitem> > {
+class FormBibitem : public FormController<ControlCommand, FormView<FD_bibitem> > {
public:
///
- FormBibitem(ControlBibitem &);
-
+ FormBibitem(Dialog &);
private:
/// Set the Params variable for the Controller.
virtual void apply();
virtual void update();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-
- /// Type definition from the fdesign produced header file.
- FD_form_bibitem * build_bibitem();
};
#endif // FORMBIBITEM_H