aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-tp-file.h
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy/empathy-tp-file.h')
-rw-r--r--libempathy/empathy-tp-file.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/libempathy/empathy-tp-file.h b/libempathy/empathy-tp-file.h
index aca8a0f89..6afb806df 100644
--- a/libempathy/empathy-tp-file.h
+++ b/libempathy/empathy-tp-file.h
@@ -27,7 +27,7 @@
#include <gio/gio.h>
#include <glib.h>
-#include <telepathy-glib/channel.h>
+#include <telepathy-glib/file-transfer-channel.h>
G_BEGIN_DECLS
@@ -60,12 +60,12 @@ typedef struct _EmpathyTpFilePrivate EmpathyTpFilePrivate;
typedef struct _EmpathyTpFileClass EmpathyTpFileClass;
struct _EmpathyTpFile {
- GObject parent;
+ TpFileTransferChannel parent;
EmpathyTpFilePrivate *priv;
};
struct _EmpathyTpFileClass {
- GObjectClass parent_class;
+ TpFileTransferChannelClass parent_class;
};
/* prototypes for operation callbacks */
@@ -96,7 +96,11 @@ GType empathy_tp_file_get_type (void) G_GNUC_CONST;
/* public methods */
-EmpathyTpFile * empathy_tp_file_new (TpChannel *channel);
+EmpathyTpFile * empathy_tp_file_new (TpSimpleClientFactory *factory,
+ TpConnection *conn,
+ const gchar *object_path,
+ const GHashTable *immutable_properties,
+ GError **error);
void empathy_tp_file_accept (EmpathyTpFile *tp_file,
guint64 offset,
@@ -118,8 +122,6 @@ void empathy_tp_file_offer (EmpathyTpFile *tp_file,
void empathy_tp_file_cancel (EmpathyTpFile *tp_file);
void empathy_tp_file_close (EmpathyTpFile *tp_file);
-gboolean empathy_tp_file_is_incoming (EmpathyTpFile *tp_file);
-
G_END_DECLS
#endif /* __EMPATHY_TP_FILE_H__ */