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.
|
|
|
|
*
|
|
|
|
* \author Edwin Leuven
|
|
|
|
*/
|
|
|
|
|
|
|
|
#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;
|
2001-03-06 10:20:33 +00:00
|
|
|
struct FD_form_search;
|
|
|
|
|
|
|
|
/** This class provides an XForms implementation of the FormSearch Dialog.
|
|
|
|
*/
|
2001-03-26 15:25:37 +00:00
|
|
|
class FormSearch : public FormCB<ControlSearch, FormDB<FD_form_search> > {
|
2001-03-06 10:20:33 +00:00
|
|
|
public:
|
2001-03-15 13:37:04 +00:00
|
|
|
///
|
2001-03-26 15:25:37 +00:00
|
|
|
FormSearch(ControlSearch &);
|
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();
|
2001-03-26 15:25:37 +00:00
|
|
|
/// not needed.
|
|
|
|
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
|
|
|
/// Fdesign generated method
|
2001-03-15 13:37:04 +00:00
|
|
|
FD_form_search * build_search();
|
2001-03-06 10:20:33 +00:00
|
|
|
};
|
|
|
|
|
2001-03-26 15:25:37 +00:00
|
|
|
#endif // FORMSEARCH_H
|