6 * John Levon, moz@compsoc.man.ac.uk
12 #include <boost/smart_ptr.hpp>
14 #include "FormBaseDeprecated.h"
23 struct FD_form_browser;
26 * This class provides an XForms implementation of a read only
29 class FormBrowser : public FormBaseBD {
32 FormBrowser(LyXView *, Dialogs *, const string &);
34 /// Update the dialog.
35 virtual void update();
37 /// Real GUI implementation.
38 boost::scoped_ptr<FD_form_browser> dialog_;
39 /// Pointer to the actual instantiation of the ButtonController.
40 virtual xformsBC & bc();
42 /// Pointer to the actual instantiation of the xforms form
43 virtual FL_FORM * form() const;
44 /// Filter the inputs on callback from xforms
45 virtual bool input(FL_OBJECT *, long);
49 /// generated build function
50 FD_form_browser * build_browser();
51 /// The ButtonController
52 ButtonController<OkCancelPolicy, xformsBC> bc_;
57 xformsBC & FormBrowser::bc()