]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSearch.h
Change glob() API to accept a dir parameter.
[lyx.git] / src / frontends / xforms / FormSearch.h
index 123eaeefc9f4d43baab0e39582ca725d775f0aa8..7208a27c02e9425245ac540934ece36989169975 100644 (file)
@@ -1,31 +1,32 @@
 // -*- C++ -*-
 /**
  * \file FormSearch.h
- * 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 Edwin Leuven, leuven@fee.uva.nl
+ * \author Edwin Leuven
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMSEARCH_H
 #define FORMSEARCH_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
+#include "FormDialogView.h"
 
-#include "FormBase.h"
+namespace lyx {
+namespace frontend {
 
 class ControlSearch;
 struct FD_search;
 
 /** This class provides an XForms implementation of the FormSearch Dialog.
  */
-class FormSearch : public FormCB<ControlSearch, FormDB<FD_search> > {
+class FormSearch
+       : public FormController<ControlSearch, FormView<FD_search> > {
 public:
        ///
-       FormSearch(ControlSearch &);
-
+       FormSearch(Dialog &);
 private:
        /// not needed.
        virtual void apply() {}
@@ -38,4 +39,7 @@ private:
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // FORMSEARCH_H