aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.h
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:02 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-11-22 00:23:02 +0800
commit2f6a0562f6b163cbbd8df706ade46802ab02c1d5 (patch)
treec7876efe1be33e0db7a7dbf841187ea87247a6c3 /libempathy/empathy-tp-file.h
parent0ec0fd88d836a9c72df629d410ed7eeb5a60d540 (diff)
downloadgsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.gz
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.tar.zst
gsoc2013-empathy-2f6a0562f6b163cbbd8df706ade46802ab02c1d5.zip
empathy_tp_file_accept/offer takes the GFile in param and return a GError if the file can't be opened.
svn path=/trunk/; revision=1881
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r--libempathy/empathy-tp-file.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h
index 04bd8fa58..408b67cb0 100644
--- a/libempathy/empathy-tp-file.h
+++ b/libempathy/empathy-tp-file.h
@@ -67,9 +67,11 @@ GType empathy_tp_file_get_type (void) G_GNUC_CONST;
EmpathyTpFile *empathy_tp_file_new (TpChannel *channel);
TpChannel *empathy_tp_file_get_channel (EmpathyTpFile *tp_file);
-void empathy_tp_file_accept (EmpathyTpFile *tp_file, guint64 offset);
+void empathy_tp_file_accept (EmpathyTpFile *tp_file, guint64 offset,
+ GFile *gfile, GError **error);
void empathy_tp_file_cancel (EmpathyTpFile *tp_file);
-void empathy_tp_file_offer (EmpathyTpFile *tp_file);
+void empathy_tp_file_offer (EmpathyTpFile *tp_file, GFile *gfile,
+ GError **error);
const gchar *empathy_tp_file_get_id (EmpathyTpFile *tp_file);
guint64 empathy_tp_file_get_transferred_bytes (EmpathyTpFile *tp_file);
@@ -81,10 +83,6 @@ EmpFileTransferStateChangeReason empathy_tp_file_get_state_change_reason (Empath
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);
-GFile *empathy_tp_file_get_gfile (EmpathyTpFile *tp_file);
-
-void empathy_tp_file_set_gfile (EmpathyTpFile *tp_file, GFile *gfile, GError **error);
-void empathy_tp_file_set_filename (EmpathyTpFile *tp_file, const gchar *filename);
G_END_DECLS