/**
* \file FormBrowser.C
- * Copyright 2001 The LyX Team.
- * See the file COPYING.
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author John Levon, moz@compsoc.man.ac.uk
+ * \author John Levon
+ *
+ * Full author contact details are available in file CREDITS.
*/
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "FormBrowser.h"
#include "forms/form_browser.h"
#include "xformsBC.h"
-FormBrowser::FormBrowser(ControlButtons & c, string const & t, bool allowResize)
- : FormDB<FD_browser>(c, t, allowResize)
+using std::string;
+
+namespace lyx {
+namespace frontend {
+
+FormBrowser::FormBrowser(Dialog & parent,
+ string const & title, bool allowResize)
+ : FormView<FD_browser>(parent, title, allowResize)
{}
dialog_.reset(build_browser(this));
// Manage the close button
- bc().setCancel(dialog_->button_close);
+ bcview().setCancel(dialog_->button_close);
}
+
+} // namespace frontend
+} // namespace lyx