]> 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 07c1709709b780abdf8a916554bfa3e52decc8c6..c09d09c3a7c770e103e9efda53925e8cea644851 100644 (file)
@@ -2,17 +2,12 @@
 #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 <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
 
-#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;
@@ -54,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);