]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-individual-store.h
individual-menu: stop creating single_individual
[empathy.git] / libempathy-gtk / empathy-individual-store.h
index 8e62b19d766d3b39a6bc6ea561552aad0a2922f6..c709348fc6bdac801d548ff8f7260c4bb89cbf86 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 ())
@@ -79,26 +78,19 @@ struct _EmpathyIndividualStore
 {
   GtkTreeStore parent;
   EmpathyIndividualStorePriv *priv;
-
-  /* protected */
-  gboolean show_active;
-  guint setup_idle_id;
 };
 
 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);
 
@@ -153,6 +145,11 @@ void individual_store_remove_individual_and_disconnect (
 
 /* protected */
 
+GList *empathy_individual_store_find_contact (EmpathyIndividualStore *self,
+    FolksIndividual *individual);
+
+void empathy_individual_store_free_iters (GList *iters);
+
 void empathy_individual_store_disconnect_individual (
     EmpathyIndividualStore *self,
     FolksIndividual *individual);
@@ -163,5 +160,8 @@ void empathy_individual_store_remove_individual (EmpathyIndividualStore *self,
 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__ */