]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-tp-file.h
Port EmpathyTpFile to new API and add a ready property
[empathy.git] / libempathy / empathy-tp-file.h
index 966663f90b7b5ed3ba5d2914a74721b7e6d05ec9..5f239c8e0df5a999935ad734f412a15605ad36b4 100644 (file)
@@ -75,11 +75,13 @@ void empathy_tp_file_offer (EmpathyTpFile *tp_file, GFile *gfile,
 EmpathyContact *empathy_tp_file_get_contact (EmpathyTpFile *tp_file);
 const gchar *empathy_tp_file_get_filename (EmpathyTpFile *tp_file);
 gboolean empathy_tp_file_is_incoming (EmpathyTpFile *tp_file);
-guint empathy_tp_file_get_state (EmpathyTpFile *tp_file, guint *reason);
+TpFileTransferState empathy_tp_file_get_state (
+  EmpathyTpFile *tp_file, TpFileTransferStateChangeReason *reason);
 guint64 empathy_tp_file_get_size (EmpathyTpFile *tp_file);
 guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file);
 gint empathy_tp_file_get_remaining_time (EmpathyTpFile *tp_file);
 const gchar *empathy_tp_file_get_content_type (EmpathyTpFile *tp_file);
+gboolean empathy_tp_file_is_ready (EmpathyTpFile *tp_file);
 
 G_END_DECLS