]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSearch.h
get rid of broken_header.h and some unneeded tests
[lyx.git] / src / frontends / xforms / FormSearch.h
1 // -*- C++ -*-
2 /**
3  * \file FormSearch.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Edwin Leuven
8  *
9  * Full author contact details are available in file CREDITS.
10  */
11
12 #ifndef FORMSEARCH_H
13 #define FORMSEARCH_H
14
15 #include "FormDialogView.h"
16
17 namespace lyx {
18 namespace frontend {
19
20 class ControlSearch;
21 struct FD_search;
22
23 /** This class provides an XForms implementation of the FormSearch Dialog.
24  */
25 class FormSearch
26         : public FormController<ControlSearch, FormView<FD_search> > {
27 public:
28         ///
29         FormSearch(Dialog &);
30 private:
31         /// not needed.
32         virtual void apply() {}
33         /// Build the dialog
34         virtual void build();
35         /// update the dialog
36         virtual void update();
37
38         /// Filter the inputs
39         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
40 };
41
42 } // namespace frontend
43 } // namespace lyx
44
45 #endif // FORMSEARCH_H