2001-03-15 13:37:04 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-12 14:09:09 +00:00
|
|
|
/**
|
|
|
|
* \file FormBibitem.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
|
|
|
* \author Angus Leeming
|
|
|
|
* \author John Levon
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMBIBITEM_H
|
|
|
|
#define FORMBIBITEM_H
|
|
|
|
|
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
#include "FormBase.h"
|
2001-02-12 14:09:09 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* For bibliography entry editing
|
|
|
|
*/
|
2001-03-15 13:37:04 +00:00
|
|
|
|
|
|
|
#include "form_bibitem.h"
|
|
|
|
class ControlBibitem;
|
|
|
|
|
|
|
|
class FormBibitem : public FormBase2<ControlBibitem, FD_form_bibitem> {
|
2001-02-12 14:09:09 +00:00
|
|
|
public:
|
|
|
|
///
|
2001-03-15 13:37:04 +00:00
|
|
|
FormBibitem(ControlBibitem &);
|
|
|
|
|
|
|
|
// Functions accessible to the Controller.
|
|
|
|
|
|
|
|
/// Set the Params variable for the Controller.
|
|
|
|
virtual void apply();
|
|
|
|
/// Build the dialog.
|
2001-02-12 14:09:09 +00:00
|
|
|
virtual void build();
|
2001-03-15 13:37:04 +00:00
|
|
|
/// Update dialog before/whilst showing it.
|
2001-02-12 14:09:09 +00:00
|
|
|
virtual void update();
|
2001-03-15 13:37:04 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
|
|
|
|
|
|
|
/// Type definition from the fdesign produced header file.
|
2001-02-12 14:09:09 +00:00
|
|
|
FD_form_bibitem * build_bibitem();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMBIBITEM_H
|