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