#ifndef FINDDLG_H
#define FINDDLG_H
#include "findreplacebase.h"
class FindDlg : public FindReplaceBase
{
public:
FindDlg(wxWindow* parent, const wxString& initial = wxEmptyString, bool hasSelection = false, bool findInFilesOnly = false);
~FindDlg();
wxString GetFindString();
wxString GetReplaceString(){ return wxEmptyString; }
bool IsFindInFiles();
bool GetMatchWord();
bool GetStartWord();
bool GetMatchCase();
bool GetRegEx();
int GetDirection();
int GetOrigin();
int GetScope();
bool GetRecursive(); // for find in search path
bool GetHidden(); // for find in search path
wxString GetSearchPath(); // for find in search path
wxString GetSearchMask(); // for find in search path
void OnFindChange(wxCommandEvent& event);
void OnRegEx(wxCommandEvent& event);
void OnBrowsePath(wxCommandEvent& event);
void OnUpdateUI(wxUpdateUIEvent& event);
private:
bool m_Complete;
DECLARE_EVENT_TABLE()
};
#endif // FINDDLG_H
syntax highlighted by Code2HTML, v. 0.9.1