#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 <libempathy-gtk/empathy-roster-model.h>
+#include "empathy-roster-model.h"
G_BEGIN_DECLS
-#define EMPATHY_ROSTER_VIEW_GROUP_UNGROUPED _("Ungrouped")
-#define EMPATHY_ROSTER_VIEW_GROUP_TOP_GROUP _("Top Contacts")
-#define EMPATHY_ROSTER_VIEW_GROUP_PEOPLE_NEARBY _("People Nearby")
-
typedef struct _EmpathyRosterView EmpathyRosterView;
typedef struct _EmpathyRosterViewClass EmpathyRosterViewClass;
typedef struct _EmpathyRosterViewPriv EmpathyRosterViewPriv;
struct _EmpathyRosterViewClass
{
/*<private>*/
- EggListBoxClass parent_class;
+ GtkListBoxClass parent_class;
};
struct _EmpathyRosterView
{
/*<private>*/
- EggListBox parent;
+ GtkListBox parent;
EmpathyRosterViewPriv *priv;
};
EMPATHY_TYPE_ROSTER_VIEW, \
EmpathyRosterViewClass))
-GtkWidget * empathy_roster_view_new (EmpathyIndividualManager *manager,
- EmpathyRosterModel *model);
-
-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);
gboolean show);
void empathy_roster_view_set_live_search (EmpathyRosterView *self,
- EmpathyLiveSearch *search);
+ TpawLiveSearch *search);
gboolean empathy_roster_view_is_empty (EmpathyRosterView *self);
FolksIndividual * empathy_roster_view_get_individual_at_y (
EmpathyRosterView *self,
gint y,
- GtkWidget **out_child);
+ GtkListBoxRow **out_row);
const gchar * empathy_roster_view_get_group_at_y (
EmpathyRosterView *self,