]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSearch.h
Introduce LFUN_PRINT.
[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 class ControlSearch;
18 struct FD_search;
19
20 /** This class provides an XForms implementation of the FormSearch Dialog.
21  */
22 class FormSearch
23         : public FormController<ControlSearch, FormView<FD_search> > {
24 public:
25         ///
26         FormSearch(Dialog &);
27 private:
28         /// not needed.
29         virtual void apply() {}
30         /// Build the dialog
31         virtual void build();
32         /// update the dialog
33         virtual void update();
34
35         /// Filter the inputs
36         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
37 };
38
39 #endif // FORMSEARCH_H