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