]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-roster-view.h
Clean up #include directives in headers
[empathy.git] / libempathy-gtk / empathy-roster-view.h
index 8706da3512618097f506c366078770162c2a099c..c09d09c3a7c770e103e9efda53925e8cea644851 100644 (file)
@@ -2,8 +2,9 @@
 #ifndef __EMPATHY_ROSTER_VIEW_H__
 #define __EMPATHY_ROSTER_VIEW_H__
 
-#include <libempathy-gtk/egg-list-box/egg-list-box.h>
-#include <libempathy/empathy-individual-manager.h>
+#include "egg-list-box/egg-list-box.h"
+#include "empathy-live-search.h"
+#include "empathy-roster-model.h"
 
 G_BEGIN_DECLS
 
@@ -48,10 +49,7 @@ GType empathy_roster_view_get_type (void);
     EMPATHY_TYPE_ROSTER_VIEW, \
     EmpathyRosterViewClass))
 
-GtkWidget * empathy_roster_view_new (EmpathyIndividualManager *manager);
-
-EmpathyIndividualManager * empathy_roster_view_get_manager (
-    EmpathyRosterView *self);
+GtkWidget * empathy_roster_view_new (EmpathyRosterModel *model);
 
 void empathy_roster_view_show_offline (EmpathyRosterView *self,
     gboolean show);
@@ -59,6 +57,32 @@ void empathy_roster_view_show_offline (EmpathyRosterView *self,
 void empathy_roster_view_show_groups (EmpathyRosterView *self,
     gboolean show);
 
+void empathy_roster_view_set_live_search (EmpathyRosterView *self,
+    EmpathyLiveSearch *search);
+
+gboolean empathy_roster_view_is_empty (EmpathyRosterView *self);
+
+gboolean empathy_roster_view_is_searching (EmpathyRosterView *self);
+
+guint empathy_roster_view_add_event (EmpathyRosterView *self,
+    FolksIndividual *individual,
+    const gchar *icon,
+    gpointer user_data);
+
+void empathy_roster_view_remove_event (EmpathyRosterView *self,
+    guint event_id);
+
+FolksIndividual * empathy_roster_view_get_individual_at_y (
+    EmpathyRosterView *self,
+    gint y,
+    GtkWidget **out_child);
+
+const gchar * empathy_roster_view_get_group_at_y (
+    EmpathyRosterView *self,
+    gint y);
+
+FolksIndividual * empathy_roster_view_get_selected_individual (EmpathyRosterView *self);
+
 G_END_DECLS
 
 #endif /* #ifndef __EMPATHY_ROSTER_VIEW_H__*/