]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-individual-view.h
Merge remote-tracking branch 'glassrose/add-All-service-selection-in-debug-window'
[empathy.git] / libempathy-gtk / empathy-individual-view.h
index babe0a9396f1ea6dd7898398618e34fad91dbc63..87dd20c7623fd2caddb5b90fd8e3b7172ee96576 100644 (file)
@@ -60,8 +60,9 @@ typedef enum
   EMPATHY_INDIVIDUAL_VIEW_FEATURE_INDIVIDUAL_DROP = 1 << 5,
   EMPATHY_INDIVIDUAL_VIEW_FEATURE_INDIVIDUAL_DRAG = 1 << 6,
   EMPATHY_INDIVIDUAL_VIEW_FEATURE_INDIVIDUAL_TOOLTIP = 1 << 7,
-  EMPATHY_INDIVIDUAL_VIEW_FEATURE_FILE_DROP = 1 << 8,
-  EMPATHY_INDIVIDUAL_VIEW_FEATURE_ALL = (1 << 9) - 1,
+  EMPATHY_INDIVIDUAL_VIEW_FEATURE_INDIVIDUAL_CALL = 1 << 8,
+  EMPATHY_INDIVIDUAL_VIEW_FEATURE_PERSONA_DROP = 1 << 9,
+  EMPATHY_INDIVIDUAL_VIEW_FEATURE_FILE_DROP = 1 << 10,
 } EmpathyIndividualViewFeatureFlags;
 
 struct _EmpathyIndividualView
@@ -79,6 +80,11 @@ struct _EmpathyIndividualViewClass
       FolksIndividual *individual,
       const gchar *new_group,
       const gchar *old_group);
+
+  void (* drag_persona_received) (EmpathyIndividualView *self,
+      GdkDragAction action,
+      FolksPersona *persona,
+      FolksIndividual *individual);
 };
 
 GType empathy_individual_view_get_type (void) G_GNUC_CONST;
@@ -91,12 +97,6 @@ EmpathyIndividualView *empathy_individual_view_new (
 FolksIndividual *empathy_individual_view_dup_selected (
     EmpathyIndividualView *view);
 
-EmpathyIndividualManagerFlags empathy_individual_view_get_flags (
-    EmpathyIndividualView *view);
-
-gchar *empathy_individual_view_get_selected_group (EmpathyIndividualView *view,
-    gboolean * is_fake_group);
-
 GtkWidget *empathy_individual_view_get_individual_menu (
     EmpathyIndividualView *view);
 
@@ -112,6 +112,16 @@ void empathy_individual_view_set_show_offline (
     EmpathyIndividualView *view,
     gboolean show_offline);
 
+gboolean empathy_individual_view_get_show_untrusted (
+    EmpathyIndividualView *self);
+
+void empathy_individual_view_set_show_untrusted (EmpathyIndividualView *self,
+    gboolean show_untrusted);
+
+void empathy_individual_view_set_show_uninteresting (
+    EmpathyIndividualView *view,
+    gboolean show_uninteresting);
+
 gboolean empathy_individual_view_is_searching (
     EmpathyIndividualView *view);
 
@@ -120,5 +130,15 @@ EmpathyIndividualStore *empathy_individual_view_get_store (
 void empathy_individual_view_set_store (EmpathyIndividualView *self,
     EmpathyIndividualStore *store);
 
+void empathy_individual_view_start_search (EmpathyIndividualView *self);
+
+void empathy_individual_view_set_custom_filter (EmpathyIndividualView *self,
+    GtkTreeModelFilterVisibleFunc filter,
+    gpointer data);
+
+void empathy_individual_view_refilter (EmpathyIndividualView *self);
+
+void empathy_individual_view_select_first (EmpathyIndividualView *self);
+
 G_END_DECLS
 #endif /* __EMPATHY_INDIVIDUAL_VIEW_H__ */