]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-individual-store.h
remove released flag
[empathy.git] / libempathy-gtk / empathy-individual-store.h
index 418761ead5ea5b618d89f32f3d76280f16fce1e7..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 ())
@@ -38,8 +37,10 @@ G_BEGIN_DECLS
 #define EMPATHY_IS_INDIVIDUAL_STORE(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), EMPATHY_TYPE_INDIVIDUAL_STORE))
 #define EMPATHY_IS_INDIVIDUAL_STORE_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), EMPATHY_TYPE_INDIVIDUAL_STORE))
 #define EMPATHY_INDIVIDUAL_STORE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), EMPATHY_TYPE_INDIVIDUAL_STORE, EmpathyIndividualStoreClass))
+
 typedef struct _EmpathyIndividualStore EmpathyIndividualStore;
 typedef struct _EmpathyIndividualStoreClass EmpathyIndividualStoreClass;
+typedef struct _EmpathyIndividualStorePriv EmpathyIndividualStorePriv;
 
 typedef enum
 {
@@ -76,23 +77,20 @@ typedef enum
 struct _EmpathyIndividualStore
 {
   GtkTreeStore parent;
-  gpointer priv;
+  EmpathyIndividualStorePriv *priv;
 };
 
 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);
 
@@ -145,5 +143,25 @@ void individual_store_remove_individual_and_disconnect (
     EmpathyIndividualStore *self,
     FolksIndividual *individual);
 
+/* 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);
+
+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__ */