* John Levon, moz@compsoc.man.ac.uk
*/
-#include <config.h>
-
-#include FORMS_H_LOCATION
-
#ifdef __GNUG__
#pragma implementation
#endif
-#include "gettext.h"
+#include <config.h>
#include "FormBrowser.h"
#include "form_browser.h"
-#include "LyXView.h"
-#include "Dialogs.h"
-#include "lyxrc.h"
-#include "buffer.h"
+#include "xformsBC.h"
-FormBrowser::FormBrowser(LyXView * lv, Dialogs * d, const string & name)
- : FormBaseBD(lv, d, name)
+FormBrowser::FormBrowser(ControlButtons & c, string const & t, bool allowResize)
+ : FormDB<FD_form_browser>(c, t, allowResize)
{}
-
+
void FormBrowser::build()
{
// Manage the close button
bc().setCancel(dialog_->button_close);
- bc().refresh();
-}
-
-
-FL_FORM * FormBrowser::form() const
-{
- if (dialog_.get())
- return dialog_->form;
- return 0;
-}
-
-void FormBrowser::update()
-{}
-
-
-bool FormBrowser::input(FL_OBJECT *, long)
-{
- update();
- return true;
}