2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2001-02-12 14:09:09 +00:00
|
|
|
/**
|
|
|
|
* \file FormBibitem.h
|
|
|
|
* Copyright 2001 the LyX Team
|
|
|
|
* Read the file COPYING
|
|
|
|
*
|
2001-03-20 10:14:03 +00:00
|
|
|
* \author John Levon, moz@compsoc.man.ac.uk
|
2002-08-15 16:02:22 +00:00
|
|
|
* \author Angus Leeming <leeming@lyx.org>
|
2001-02-12 14:09:09 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#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
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
class ControlBibitem;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_bibitem;
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-19 16:37:01 +00:00
|
|
|
/**
|
|
|
|
* For bibliography entry editing
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormBibitem : public FormCB<ControlBibitem, FormDB<FD_bibitem> > {
|
2001-02-12 14:09:09 +00:00
|
|
|
public:
|
|
|
|
///
|
2002-08-12 14:28:43 +00:00
|
|
|
FormBibitem();
|
2001-03-23 17:09:34 +00:00
|
|
|
private:
|
2001-03-15 13:37:04 +00:00
|
|
|
/// 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
|
|
|
/// Filter the inputs on callback from xforms
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-02-12 14:09:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // FORMBIBITEM_H
|