2 /* This file is part of
3 * ======================================================
5 * LyX, The Document Processor
7 * Copyright 2000 The LyX Team.
9 * ======================================================
19 #include "FormCommand.h"
22 /** This class provides an XForms implementation of the FormRef Dialog.
24 class FormRef : public FormCommand {
27 FormRef(LyXView *, Dialogs *);
57 virtual void input(long);
58 /// Update dialog before showing it
59 virtual void update();
60 /// Not used but must be instantiated
62 /// delete derived class variables from hide()
63 virtual void clearStore();
64 /// Pointer to the actual instantiation of the xform's form
65 virtual FL_FORM * const form() const;
68 void updateBrowser( std::vector<string> ) const;
70 void showBrowser() const;
72 void hideBrowser() const;
74 void setSize( int, int, int ) const;
76 FD_form_ref * build_ref();
80 string getName( Type type ) const;
85 std::vector<string> refs;
87 /// Real GUI implementation.
88 FD_form_ref * dialog_;