Code::Blocks  SVN r11506
findreplacebase.h
Go to the documentation of this file.
1 /*
2  * This file is part of the Code::Blocks IDE and licensed under the GNU Lesser General Public License, version 3
3  * http://www.gnu.org/licenses/lgpl-3.0.html
4  */
5 
6 #ifndef FINDREPLACEBASE_H
7 #define FINDREPLACEBASE_H
8 
9 #include "scrollingdialog.h"
10 #include <wx/string.h>
11 
12 class wxWindow;
13 
15 {
16  public:
17  FindReplaceBase(cb_optional wxWindow* parent, cb_optional const wxString& initial, cb_optional bool hasSelection){}
18  ~FindReplaceBase() override{}
19  virtual wxString GetFindString() const = 0;
20  virtual wxString GetReplaceString() const = 0;
21  virtual bool IsFindInFiles() const = 0;
22  virtual bool GetDeleteOldSearches() const = 0;
23  virtual bool GetSortSearchResult() const = 0;
24  virtual bool GetMatchWord() const = 0;
25  virtual bool GetStartWord() const = 0;
26  virtual bool GetStartFile() const = 0;
27  virtual bool GetMatchCase() const = 0;
28  virtual bool GetMultiLine() const = 0;
29  virtual bool GetFixEOLs() const = 0;
30  virtual bool GetRegEx() const = 0;
31  virtual bool GetAutoWrapSearch() const = 0;
32  virtual bool GetFindUsesSelectedText() const = 0;
33  virtual int GetDirection() const = 0;
34  virtual int GetOrigin() const = 0;
35  virtual int GetScope() const = 0;
36  virtual bool GetRecursive() const = 0; // for find in search path
37  virtual bool GetHidden() const = 0; // for find in search path
38  virtual wxString GetSearchPath() const = 0; // for find in search path
39  virtual wxString GetSearchMask() const = 0; // for find in search path
40  virtual int GetProject() const = 0; // for find in project
41  virtual int GetTarget() const = 0; // for find in project
42 };
43 
44 #endif // FINDREPLACEBASE_H
virtual bool GetAutoWrapSearch() const =0
virtual bool IsFindInFiles() const =0
virtual int GetDirection() const =0
virtual bool GetFixEOLs() const =0
virtual bool GetHidden() const =0
virtual int GetOrigin() const =0
virtual bool GetFindUsesSelectedText() const =0
virtual int GetScope() const =0
virtual wxString GetSearchMask() const =0
virtual bool GetSortSearchResult() const =0
virtual int GetTarget() const =0
virtual wxString GetReplaceString() const =0
virtual bool GetStartWord() const =0
virtual bool GetDeleteOldSearches() const =0
virtual bool GetMatchCase() const =0
virtual bool GetRecursive() const =0
FindReplaceBase(cb_optional wxWindow *parent, cb_optional const wxString &initial, cb_optional bool hasSelection)
virtual bool GetRegEx() const =0
virtual bool GetMultiLine() const =0
~FindReplaceBase() override
virtual wxString GetFindString() const =0
virtual bool GetMatchWord() const =0
virtual wxString GetSearchPath() const =0
virtual int GetProject() const =0
virtual bool GetStartFile() const =0