]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/FormSearch.h
Introduce LFUN_PRINT.
[lyx.git] / src / frontends / xforms / FormSearch.h
index 24a473ad8cc3fdd004b3a2399876c233fff5ad40..3571508112031887a8c73c7c052c94e9931669b4 100644 (file)
@@ -1,44 +1,39 @@
 // -*- 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
+ *
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef FORMSEARCH_H
 #define FORMSEARCH_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "FormBase.h"
+#include "FormDialogView.h"
 
 class ControlSearch;
-struct FD_form_search;
+struct FD_search;
 
 /** This class provides an XForms implementation of the FormSearch Dialog.
  */
-class FormSearch : public FormCB<ControlSearch, FormDB<FD_form_search> > {
+class FormSearch
+       : public FormController<ControlSearch, FormView<FD_search> > {
 public:
        ///
-       FormSearch(ControlSearch &);
-   
+       FormSearch(Dialog &);
 private:
        /// not needed.
        virtual void apply() {}
        /// Build the dialog
        virtual void build();
-       /// not needed.
-       virtual void update() {}
+       /// update the dialog
+       virtual void update();
 
        /// Filter the inputs
        virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
-   
-       /// Fdesign generated method
-       FD_form_search  * build_search();
 };
 
 #endif // FORMSEARCH_H