summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers/ContactSuggester.h')
-rw-r--r--Swift/Controllers/ContactSuggester.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/Swift/Controllers/ContactSuggester.h b/Swift/Controllers/ContactSuggester.h
index 67b912c..1c796c9 100644
--- a/Swift/Controllers/ContactSuggester.h
+++ b/Swift/Controllers/ContactSuggester.h
@@ -19,2 +19,4 @@
+class ContactSuggesterTest;
+
namespace Swift {
@@ -30,3 +32,3 @@ namespace Swift {
std::vector<Contact::ref> getSuggestions(const std::string& search) const;
- private:
+ public:
static bool matchContact(const std::string& search, const Contact::ref& c);
@@ -36,5 +38,2 @@ namespace Swift {
static bool fuzzyMatch(std::string text, std::string match);
- static bool contactLexicographicalSortPredicate(const Contact::ref& a, const Contact::ref& b);
- static bool contactEqualityPredicate(const Contact::ref& a, const Contact::ref& b);
- static bool contactSmartSortPredicate(const Contact::ref& a, const Contact::ref& b);