// -*- 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 "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