]> 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 b362a0896d528cbd22825c7745ffedfca06cab81..ebd3f0fa419c9b45b8e09251234b26a64b0843c6 100644 (file)
@@ -7,31 +7,34 @@
  * \author John Levon
  * \author Angus Leeming
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMBROWSER_H
 #define FORMBROWSER_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
+
+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