// -*- 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() {}
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
};
+} // namespace frontend
+} // namespace lyx
+
#endif // FORMSEARCH_H