2001-06-13 14:33:31 +00:00
|
|
|
// -*- C++ -*-
|
2001-03-06 10:20:33 +00:00
|
|
|
/**
|
|
|
|
* \file FormSearch.h
|
|
|
|
* Copyright 2001 The LyX Team.
|
|
|
|
* See the file COPYING.
|
|
|
|
*
|
2002-03-11 17:00:41 +00:00
|
|
|
* \author Edwin Leuven, leuven@fee.uva.nl
|
2001-03-06 10:20:33 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef FORMSEARCH_H
|
|
|
|
#define FORMSEARCH_H
|
|
|
|
|
2001-03-15 13:37:04 +00:00
|
|
|
#ifdef __GNUG__
|
|
|
|
#pragma interface
|
|
|
|
#endif
|
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
#include "FormBase.h"
|
2001-03-06 10:20:33 +00:00
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
class ControlSearch;
|
2002-06-13 13:43:51 +00:00
|
|
|
struct FD_search;
|
2001-03-06 10:20:33 +00:00
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the FormSearch Dialog.
|
|
|
|
*/
|
2002-06-13 13:43:51 +00:00
|
|
|
class FormSearch : public FormCB<ControlSearch, FormDB<FD_search> > {
|
2001-03-06 10:20:33 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2002-07-02 19:23:10 +00:00
|
|
|
FormSearch(ControlSearch &, Dialogs &);
|
2001-03-06 10:20:33 +00:00
|
|
|
private:
|
2001-03-26 15:25:37 +00:00
|
|
|
/// not needed.
|
|
|
|
virtual void apply() {}
|
|
|
|
/// Build the dialog
|
2001-03-15 13:37:04 +00:00
|
|
|
virtual void build();
|
2002-06-18 17:31:41 +00:00
|
|
|
/// update the dialog
|
|
|
|
virtual void update();
|
2001-03-15 13:37:04 +00:00
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
/// Filter the inputs
|
|
|
|
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
|
2001-03-06 10:20:33 +00:00
|
|
|
};
|
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
#endif // FORMSEARCH_H
|