1
/***************************************************************
2
* Name: TextFileSearcherText
3
* Purpose: TextFileSearcherText implements the TextFileSearcher
4
* interface is used to search text files for a text
5
* expression ( != regular expression).
6
* Author: Jerome ANTOINE
8
* Copyright: Jerome ANTOINE
10
**************************************************************/
12
#ifndef TEXT_FILE_SEARCHER_TEXT_H
13
#define TEXT_FILE_SEARCHER_TEXT_H
15
#include <wx/string.h>
17
#include "TextFileSearcher.h"
19
class TextFileSearcherText : public TextFileSearcher
23
// We don't use ThreadSearchFindData to limit coupling
24
TextFileSearcherText(const wxString& searchText, bool matchCase, bool matchWordBegin,
28
virtual ~TextFileSearcherText() {}
30
/** Return true if Line matches search text.
31
* This method is inherited from TextFileSearcher and is used to implement
32
* different search strategies. In TextFileSearcherText, the basic text search
34
* @param line : the text line to match.
35
* @return true if line matches search text.
37
virtual bool MatchLine(wxString line);
40
#endif // TEXT_FILE_SEARCHER_TEXT_H