logic: implemented handling of non-ascii characters in screen search
This commit is contained in:
@@ -54,7 +54,7 @@ void ScreenSearchController::addResponder(ScreenSearchResponder* responder)
|
||||
}
|
||||
}
|
||||
|
||||
void ScreenSearchController::search(const std::string& query, const std::set<std::string>& responderNames)
|
||||
void ScreenSearchController::search(const std::wstring& query, const std::set<std::string>& responderNames)
|
||||
{
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(m_matchMutex);
|
||||
|
||||
@@ -23,7 +23,7 @@ public:
|
||||
virtual void foundMatches(ScreenSearchResponder* responder, size_t matchCount);
|
||||
|
||||
void addResponder(ScreenSearchResponder* responder);
|
||||
void search(const std::string& query, const std::set<std::string>& responderNames);
|
||||
void search(const std::wstring& query, const std::set<std::string>& responderNames);
|
||||
void activateMatch(bool next);
|
||||
void clearMatches();
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ public:
|
||||
virtual std::string getName() const = 0;
|
||||
virtual bool isVisible() const = 0;
|
||||
|
||||
virtual void findMatches(ScreenSearchSender* sender, const std::string& query) = 0;
|
||||
virtual void findMatches(ScreenSearchSender* sender, const std::wstring& query) = 0;
|
||||
virtual void activateMatch(size_t matchIndex) = 0;
|
||||
virtual void deactivateMatch(size_t matchIndex) = 0;
|
||||
virtual void clearMatches() = 0;
|
||||
|
||||
Reference in New Issue
Block a user