2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
19 #include "FormInset.h"
22 /** This class provides an XForms implementation of the FormRef Dialog.
24 class FormRef : public FormCommand {
27 FormRef(LyXView *, Dialogs *);
54 /// Disconnect signals. Also perform any necessary housekeeping.
55 virtual void disconnect();
60 virtual bool input(FL_OBJECT *, long);
61 /// Update dialog before showing it
62 virtual void update();
63 /// Not used but must be instantiated
65 /// Pointer to the actual instantiation of the xform's form
66 virtual FL_FORM * form() const;
69 void updateBrowser(std::vector<string> const &) const;
71 FD_form_ref * build_ref();
75 string const getName(Type type) const;
80 std::vector<string> refs;
82 /// Real GUI implementation.
83 FD_form_ref * dialog_;