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
16 #include "ControlDialog_impl.h"
19 /** A controller for Search dialogs.
21 class ControlSearch : public ControlDialogBD {
24 ControlSearch(LyXView &, Dialogs &);
26 /// Searches occurence of string
27 void find(string const & search,
28 bool casesensitive, bool matchword, bool forward);
30 /// Replaces occurence of string
31 void replace(string const & search, string const & replace,
32 bool casesensitive, bool matchword, bool all);
35 virtual void apply() {}
38 #endif // CONTROLSEARCH_H