]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/FormSearch.h
2002-07-02 Lars Gullik Bj�nnes <larsbj@birdstep.com>
[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, leuven@fee.uva.nl
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_search;
21
22 /** This class provides an XForms implementation of the FormSearch Dialog.
23  */
24 class FormSearch : public FormCB<ControlSearch, FormDB<FD_search> > {
25 public:
26         ///
27         FormSearch(ControlSearch &, Dialogs &);
28 private:
29         /// not needed.
30         virtual void apply() {}
31         /// Build the dialog
32         virtual void build();
33         /// update the dialog
34         virtual void update();
35
36         /// Filter the inputs
37         virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
38 };
39
40 #endif // FORMSEARCH_H