]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-live-search.h
Remove obsolete contact-list-{store,view}
[empathy.git] / libempathy-gtk / empathy-live-search.h
index 108b42cdc0c47a5f1b42b1982dd5160df70a5a3b..3d0a8734f9df2363bff26d575ffebbbc7a374d32 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (C) 2010 Collabora Ltd.
+ * Copyright (C) 2007-2010 Nokia Corporation.
  *
  * This library is free software; you can redistribute it and/or
  * modify it under the terms of the GNU Lesser General Public
@@ -16,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  * Authors: Felix Kaser <felix.kaser@collabora.co.uk>
+ *          Xavier Claessens <xavier.claessens@collabora.co.uk>
+ *          Claudio Saavedra <csaavedra@igalia.com>
  */
 
 #ifndef __EMPATHY_LIVE_SEARCH_H__
@@ -23,8 +26,6 @@
 
 #include <gtk/gtk.h>
 
-#include "empathy-contact-list-store.h"
-
 G_BEGIN_DECLS
 
 #define EMPATHY_TYPE_LIVE_SEARCH         (empathy_live_search_get_type ())
@@ -62,6 +63,13 @@ void empathy_live_search_set_text (EmpathyLiveSearch *self,
 gboolean empathy_live_search_match (EmpathyLiveSearch *self,
     const gchar *string);
 
+GPtrArray * empathy_live_search_strip_utf8_string (const gchar *string);
+
+gboolean empathy_live_search_match_words (const gchar *string,
+    GPtrArray *words);
+
+GPtrArray * empathy_live_search_get_words (EmpathyLiveSearch *self);
+
 /* Made public for unit tests */
 gboolean empathy_live_search_match_string (const gchar *string,
    const gchar *prefix);