// -*- C++ -*-
-/*
+/**
* \file FormBrowser.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author John Levon
+ * \author Angus Leeming
*
- * (C) 2001 LyX Team
- * John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@.ac.uk
+ * Full author contact details are available in file CREDITS.
*/
#ifndef FORMBROWSER_H
#define FORMBROWSER_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-#include "FormBase.h"
+#include "FormDialogView.h"
/**
* This class provides an XForms implementation of a read only
* text browser.
*/
-struct FD_form_browser;
+struct FD_browser;
-class FormBrowser : public FormDB<FD_form_browser> {
+class FormBrowser : public FormView<FD_browser> {
public:
///
- FormBrowser(ControlBase &, string const &);
-
+ FormBrowser(Dialog &, std::string const &, bool allowResize = true);
private:
/// Build the dialog.
virtual void build();
- /// generated build function
- FD_form_browser * build_browser();
};
#endif // FORMBROWSER_H