]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSearch.h
implement getLabelList
[lyx.git] / src / frontends / xforms / FormSearch.h
1 /**
2  * \file FormSearch.h
3  * Copyright 2001 The LyX Team.
4  * See the file COPYING.
5  *
6  * \author Edwin Leuven
7  */
8
9 #ifndef FORMSEARCH_H
10 #define FORMSEARCH_H
11
12 #ifdef __GNUG__
13 #pragma interface
14 #endif
15
16 #include "FormBase.h"
17
18 class ControlSearch;
19 struct FD_form_search;
20
21 /** This class provides an XForms implementation of the FormSearch Dialog.
22  */
23 class FormSearch : public FormCB<ControlSearch, FormDB<FD_form_search> > {
24 public:
25         ///
26         FormSearch(ControlSearch &);
27    
28 private:
29         /// not needed.
30         virtual void apply() {}
31         /// Build the dialog
32         virtual void build();
33         /// not needed.
34         virtual void update() {}
35
36         /// Filter the inputs
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38    
39         /// Fdesign generated method
40         FD_form_search  * build_search();
41 };
42
43 #endif // FORMSEARCH_H