mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-23 08:39:07 +00:00
14c60d0aae
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1794 a592a061-630c-0410-9148-cb99ea01b6c8
50 lines
944 B
C++
50 lines
944 B
C++
// -*- C++ -*-
|
|
/**
|
|
* \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
|
|
|
|
#include "FormBase.h"
|
|
|
|
#include "form_bibitem.h"
|
|
|
|
class ControlBibitem;
|
|
|
|
/**
|
|
* For bibliography entry editing
|
|
*/
|
|
class FormBibitem : public FormBase2<ControlBibitem, FD_form_bibitem> {
|
|
public:
|
|
///
|
|
FormBibitem(ControlBibitem &);
|
|
|
|
// Functions accessible to the Controller.
|
|
|
|
/// 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.
|
|
FD_form_bibitem * build_bibitem();
|
|
};
|
|
|
|
#endif // FORMBIBITEM_H
|