]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-individual-store.h
GNOME Goal: Update icon names
[empathy.git] / libempathy-gtk / empathy-individual-store.h
index dc0c0d7ea0b10e99528cc7f839afe39266a29ec7..402f451b8921ae47f73eb65210f40ec98b18ef8c 100644 (file)
@@ -28,8 +28,7 @@
 #define __EMPATHY_INDIVIDUAL_STORE_H__
 
 #include <gtk/gtk.h>
-
-#include <libempathy/empathy-individual-manager.h>
+#include <folks/folks.h>
 
 G_BEGIN_DECLS
 #define EMPATHY_TYPE_INDIVIDUAL_STORE         (empathy_individual_store_get_type ())
@@ -84,17 +83,14 @@ struct _EmpathyIndividualStore
 struct _EmpathyIndividualStoreClass
 {
   GtkTreeStoreClass parent_class;
+
+  void (*reload_individuals) (EmpathyIndividualStore *self);
+  gboolean (*initial_loading) (EmpathyIndividualStore *self);
 };
 
 GType
 empathy_individual_store_get_type (void) G_GNUC_CONST;
 
-EmpathyIndividualStore *empathy_individual_store_new (
-    EmpathyIndividualManager *manager);
-
-EmpathyIndividualManager *empathy_individual_store_get_manager (
-    EmpathyIndividualStore *store);
-
 gboolean empathy_individual_store_get_show_avatars (
     EmpathyIndividualStore *store);
 
@@ -147,5 +143,20 @@ void individual_store_remove_individual_and_disconnect (
     EmpathyIndividualStore *self,
     FolksIndividual *individual);
 
+/* protected */
+
+void empathy_individual_store_disconnect_individual (
+    EmpathyIndividualStore *self,
+    FolksIndividual *individual);
+
+void empathy_individual_store_remove_individual (EmpathyIndividualStore *self,
+    FolksIndividual *individual);
+
+void empathy_individual_store_add_individual (EmpathyIndividualStore *self,
+    FolksIndividual *individual);
+
+void empathy_individual_store_refresh_individual (EmpathyIndividualStore *self,
+    FolksIndividual *individual);
+
 G_END_DECLS
 #endif /* __EMPATHY_INDIVIDUAL_STORE_H__ */