]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormBrowser.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormBrowser.h
index 196020eb22488dc15b3ad097414560a5499c6d23..ebd3f0fa419c9b45b8e09251234b26a64b0843c6 100644 (file)
@@ -1,35 +1,40 @@
 // -*- C++ -*-
-/*
+/**
  * \file FormBrowser.h
- * Copyright 2001 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * \author John Levon
+ * \author Angus Leeming
  *
- * \author John Levon, moz@compsoc.man.ac.uk
- * \author Angus Leeming, a.leeming@ic.ac.uk
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMBROWSER_H
 #define FORMBROWSER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
+
+namespace lyx {
+namespace frontend {
 
-#include "FormBase.h"
+struct FD_browser;
 
 /**
  * This class provides an XForms implementation of a read only
  * text browser.
  */
-struct FD_browser;
 
-class FormBrowser : public FormDB<FD_browser> {
+class FormBrowser : public FormView<FD_browser> {
 public:
        ///
-       FormBrowser(string const &, bool allowResize = true);
+       FormBrowser(Dialog &, std::string const &, bool allowResize = true);
 private:
        /// Build the dialog.
        virtual void build();
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMBROWSER_H