3 * \file ControlSearch.h
4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Angus Leeming
9 * Full author contact details are available in file CREDITS
12 #ifndef CONTROLSEARCH_H
13 #define CONTROLSEARCH_H
19 #include "ControlDialog_impl.h"
22 /** A controller for Search dialogs.
24 class ControlSearch : public ControlDialogBD {
27 ControlSearch(LyXView &, Dialogs &);
29 /// Searches occurence of string
30 void find(string const & search,
31 bool casesensitive, bool matchword, bool forward);
33 /// Replaces occurence of string
34 void replace(string const & search, string const & replace,
35 bool casesensitive, bool matchword, bool all);
38 virtual void apply() {}
41 #endif // CONTROLSEARCH_H