]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-roster-view.h
Updated Czech translation
[empathy.git] / libempathy-gtk / empathy-roster-view.h
index e5c3a6f40a0051dbc244e7d873a5167793df8ee8..6a8d30c14753ba12247f0331fac11807bdbc890c 100644 (file)
@@ -2,10 +2,9 @@
 #ifndef __EMPATHY_ROSTER_VIEW_H__
 #define __EMPATHY_ROSTER_VIEW_H__
 
-#include <libempathy-gtk/egg-list-box/egg-list-box.h>
-#include <libempathy-gtk/empathy-live-search.h>
+#include <tp-account-widgets/tpaw-live-search.h>
 
-#include <libempathy/empathy-individual-manager.h>
+#include "empathy-roster-model.h"
 
 G_BEGIN_DECLS
 
@@ -16,13 +15,13 @@ typedef struct _EmpathyRosterViewPriv EmpathyRosterViewPriv;
 struct _EmpathyRosterViewClass
 {
   /*<private>*/
-  EggListBoxClass parent_class;
+  GtkListBoxClass parent_class;
 };
 
 struct _EmpathyRosterView
 {
   /*<private>*/
-  EggListBox parent;
+  GtkListBox parent;
   EmpathyRosterViewPriv *priv;
 };
 
@@ -50,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);
@@ -62,7 +58,30 @@ void empathy_roster_view_show_groups (EmpathyRosterView *self,
     gboolean show);
 
 void empathy_roster_view_set_live_search (EmpathyRosterView *self,
-    EmpathyLiveSearch *search);
+    TpawLiveSearch *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,
+    GtkListBoxRow **out_row);
+
+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