2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
12 #ifndef FORMCITATION_H
13 #define FORMCITATION_H
19 #include "FormCommand.h"
20 struct FD_form_citation;
22 /** This class provides an XForms implementation of the FormCitation Dialog.
24 class FormCitation : public FormCommand, public noncopyable {
37 /**@name Constructors and Destructors */
39 /// #FormCitation x(LyXFunc ..., Dialogs ...);#
40 FormCitation(LyXView *, Dialogs *);
46 /**@name Slot Methods */
48 virtual void update();
52 virtual void input( long );
56 virtual FL_FORM * const form() const;
58 void updateBrowser( FL_OBJECT *, std::vector<string> const & ) const;
60 void setBibButtons( State ) const;
62 void setCiteButtons( State ) const;
64 void setSize( int, bool ) const;
66 FD_form_citation * build_citation();
69 /// Real GUI implementation.
70 FD_form_citation * dialog_;