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(bool switched = false);
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;
71 void showBrowser() const;
73 void hideBrowser() const;
75 void setSize( int, int, int ) const;
77 FD_form_ref * build_ref();
81 string getName( Type type ) const;
86 std::vector<string> refs;
88 /// Real GUI implementation.
89 FD_form_ref * dialog_;